| Main index | Section 3 | Options |
#include <pmc.h>
The returned structure includes the following fields:
| pm_intr_ignored | The number of sampling interrupts ignored. |
| pm_intr_processed | The number of sampling interrupts processed. |
| pm_intr_bufferfull | The number of sampling interrupts dropped due to lack of space in the sample buffer. |
| pm_syscalls | The number of system calls into hwpmc(4). |
| pm_syscalls_errors | The number of system calls into hwpmc(4) that failed. |
| pm_buffer_requests | The number of log buffer requests so far. |
| pm_buffer_requests_failed | |
| The number of log buffer requests that failed due to lack of buffers. | |
| pm_log_sweeps | The number of sample buffer processing sweeps. |
| PMC_GET_DRIVER_STATS (3) | November 25, 2007 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Never write it in C if you can do it in `awk'; Never do it in `awk' if `sed' can handle it; Never use `sed' when `tr' can do the job; Never invoke `tr' when `cat' is sufficient; Avoid using `cat' whenever possible. |
” |
| — Taylor's Laws of Programming | ||