summaryrefslogtreecommitdiffstats
path: root/share/examples/hwpmc
Commit message (Collapse)AuthorAgeFilesLines
* Update share/examples/* to properly install /usr/share/examples.gjb2016-05-101-0/+2
| | | | | | | | | | As result of this, a new examples package is now created. Note, this is only effective with 'SHARED=copies' (the default), as the 'SHARED=symlinks' mechanism will create a symlink to the source tree version of the file(s). Sponsored by: The FreeBSD Foundation
* Various style(9) and related fixes.gnn2014-07-311-32/+23
| | | | | | | | | Update the copyright to be more in line with the current version in our tree. Remove the ancient rcsid. Add a proper return from the main function Pointed out by: bz
* Add an example program to show how to use libpmc from a program.gnn2014-07-313-2/+124
| | | | | | | This particular program attempts to use the TSC to measure how long certainly libpmc operations take. Depending on the quality of the rdtsc() macro on a particular architecture this may work more or less well.
* Bring a working snapshot of hwpmc(4), its associated libraries, userland ↵jkoshy2005-04-191-0/+8
utilities and documentation into -CURRENT. Bump FreeBSD_version. Reviewed by: alc, jhb (kernel changes)
OpenPOWER on IntegriCloud