Lines Matching +full:up +full:- +full:counter
33 .Nd CPU performance-monitoring interface
41 driver provides access to the internal performance-monitoring
50 (in CPU cycles), as well as a cycle counter which counts clock cycles.
53 driver provides a device-style interface to these capabilities.
55 All access to the performance-monitoring counters is performed through
77 .Bl -tag -width PMIOTSTAMP
80 Set up a counter with parameters and flags defined in the structure.
83 .Bl -tag -width "u_char pmc_eventx"
85 the number of the counter in question; must be less than
96 flags modifying the operation of the counter (see below).
98 the counter mask value; essentially, this is a threshold used to
106 .Bl -tag -compact -width PMCF_USRxx
114 invert the sense of the counter mask comparison
118 returns the current configuration of the specified counter.
122 starts (stops) the specified counter.
126 say, counter 0 can never be stopped without first stopping counter 1.)
132 reset the specified counter to zero.
133 The counter should be stopped
141 get the current value of the counter.
146 .Bl -tag -compact -width "quad_t pmcd_value"
148 the number of the counter to read
150 the resulting value as a 64-bit signed integer
160 read the time stamp counter.
165 .Bl -tag -compact -width "quad_t pmct_value"
167 the approximate rate of the counter, in MHz
169 the current value of the counter as a 64-bit integer
172 It is important to note that the counter rate, as provided in the
175 non-integral clock rates.
177 hint or sanity-check than an actual representation of the rate of
181 .Bl -tag -compact -width "/usr/include/machine/perfmon.h"