Blame src/perfctr-2.7.x/examples/README
|
Packit |
577717 |
This directory contains some example programs which illustrate how
|
|
Packit |
577717 |
the Linux x86 performance-monitoring counters interface may be used.
|
|
Packit |
577717 |
|
|
Packit |
577717 |
global/
|
|
Packit |
577717 |
Shows how to set up and monitor global-mode perfctrs.
|
|
Packit |
577717 |
Fully developed, this would be a perfctr analogue
|
|
Packit |
577717 |
of the `top' or `ps' command.
|
|
Packit |
577717 |
[DISABLED PENDING REIMPLEMENTATION OF KERNEL SUPPORT]
|
|
Packit |
577717 |
|
|
Packit |
577717 |
perfex/
|
|
Packit |
577717 |
perfex runs another program with user-specified performance
|
|
Packit |
577717 |
counter settings, and outputs the final counter values when
|
|
Packit |
577717 |
that program terminates.
|
|
Packit |
577717 |
perfex is an incomplete clone of IRIX' perfex(1) for MIPS R10000.
|
|
Packit |
577717 |
|
|
Packit |
577717 |
self/
|
|
Packit |
577717 |
Shows how a program can use the perfctrs to
|
|
Packit |
577717 |
monitor the execution in parts of its own code.
|
|
Packit |
577717 |
|
|
Packit |
577717 |
signal/
|
|
Packit |
577717 |
Illustrates how performance counter overflow can be caught
|
|
Packit |
577717 |
and sent to the process as a user-specified signal.
|