Lines Matching refs:counters
5 Performance counters are special hardware registers available on most modern
13 hardware capabilities. It provides per task and per CPU counters, counter
15 provides "virtual" 64-bit counters, regardless of the width of the
16 underlying hardware counters.
18 Performance counters are accessed via special file descriptors.
32 Multiple counters can be kept open at a time, and the counters
130 * Special "software" counters provided by the kernel, even if the hardware
131 * does not support performance counters. These counters measure various
152 Counters come in two flavours: counting counters and sampling
153 counters. A "counting" counter is one that is used for counting the
209 on the CPU if at all possible. It only applies to hardware counters
211 CPU (e.g. because there are not enough hardware counters or because of
217 is on the CPU, it should be the only group using the CPU's counters.
222 counters.
249 pid < 0: all tasks are counted (per cpu counters)
260 gets schedule to. Per task counters can be created by any user, for
264 all events on CPU-x. Per CPU counters need CAP_PERFMON or CAP_SYS_ADMIN
278 only be put onto the CPU if all of the counters in the group can be
279 put onto the CPU. This means that the values of the member counters
301 * Bits needed to read the hw counters in user-space.
431 counters in the group will count. Enabling or disabling a member of a
436 Additionally, non-inherited overflow counters can use
449 This applies to all counters on the current process, whether created
450 by this process or by another, and doesn't affect any counters that
459 still use the generic software counters based on hrtimers for sampling.
467 weak stub hw_perf_event_init() to register hardware counters.