1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/share/examples/hwpmc/Makefile
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

10 lines
83 B
Makefile

# $FreeBSD$
PROG= overhead
LDFLAGS+= -lpmc
MAN=
install:
.include <bsd.prog.mk>