freebsd-dev/share/examples/hwpmc/README
George V. Neville-Neil ea43014585 Add an example program to show how to use libpmc from a program.
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.
2014-07-31 09:18:15 +00:00

7 lines
98 B
Plaintext

# $FreeBSD$
Examples illustrating the use of the hwpmc(4) driver and pmc(3)
library interface.