i386 removal, part 53/x: Remove the code of the fe(4) driver too.
[dragonfly.git] / share / examples / perfmon / README
blob84a7710986b4246a0d19597c74fe5ee7e6772dcc
1 `perfmon' is a sample program to access the performance-monitoring
2 counters on Pentium and Pentium Pro CPUs.  See perfmon(4) for a
3 description of this facility.
5 The program takes the following options:
7         -u      count events in user mode
8         -o      count events in kernel mode
9                 (these two can be combined)
11         -e      count events, not duration
12         -l n    run `n' loops (default 50)
13         -s n    sleep `n' seconds between loop iterations (default 0)
15 The following options are not implemented on Pentium CPUs:
17         -m n    use count mask `n'
18         -i      invert sense of count mask comparison
19         -U n    use unit mask `n'
21 There is one mandatory argument, which is the event number to be
22 monitored, defined in <machine/perfmon.h>.  All numbers can be
23 specified in any format acceptable to strtol(3).
25 $FreeBSD: src/share/examples/perfmon/README,v 1.4.2.1 2001/05/16 02:01:25 dd Exp $
26 $DragonFly: src/share/examples/perfmon/README,v 1.2 2003/06/17 04:36:57 dillon Exp $