Lines Matching full:counters
2 Performance Counters for Linux
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
112 on all CPUs that implement Performance Counters support under Linux,
127 * Special "software" counters provided by the kernel, even if the hardware
128 * does not support performance counters. These counters measure various
144 Counters of the type PERF_TYPE_TRACEPOINT are available when the ftrace event
149 Counters come in two flavours: counting counters and sampling
150 counters. A "counting" counter is one that is used for counting the
206 on the CPU if at all possible. It only applies to hardware counters
208 CPU (e.g. because there are not enough hardware counters or because of
214 is on the CPU, it should be the only group using the CPU's counters.
219 counters.
246 pid < 0: all tasks are counted (per cpu counters)
257 gets schedule to. Per task counters can be created by any user, for
261 all events on CPU-x. Per CPU counters need CAP_PERFMON or CAP_SYS_ADMIN
275 only be put onto the CPU if all of the counters in the group can be
276 put onto the CPU. This means that the values of the member counters
298 * Bits needed to read the hw counters in user-space.
413 Counters can be enabled and disabled in two ways: via ioctl and via
428 counters in the group will count. Enabling or disabling a member of a
433 Additionally, non-inherited overflow counters can use
446 This applies to all counters on the current process, whether created
447 by this process or by another, and doesn't affect any counters that
456 still use the generic software counters based on hrtimers for sampling.
464 weak stub hw_perf_event_init() to register hardware counters.