Add readme and fix copyright in license

This commit is contained in:
Harald Eilertsen 2025-06-20 14:03:26 +02:00
parent 45e6aebfbf
commit 46287dd064
2 changed files with 19 additions and 1 deletions

View file

@ -1,4 +1,6 @@
Copyright (c) <year> <owner> Copyright (c) 2025 The FreeBSD Foundation
Copyright (c) 2025 Eilertsens Kodeknekkeri
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

16
README.md Normal file
View file

@ -0,0 +1,16 @@
# Example: Getting run time of a thread in FreeBSD
I wrote this example app when researching how to find the run time of a
specific thread. The OpenJDK garbage collector implementations as well as other
parts of the OpenJDK needs this information. Since I had written it, I figured
I might as well share it with the community. Perhaps some will find it useful.
## License
Copyright (c) 2025 The FreeBSD Foundation
Copyright (c) 2025 Eilertsens Kodeknekkeri
SPDX-License-Identifier: BSD-2-Clause
This code is shared under a BSD 2-Clause license.
See [the included license](LICENSES/BSD-2-Clause.txt) for details.