libperfmon Tutorial: Collecting Predefined Metrics

libperfmon contains a collection of high-level calls which make it easy to collect commonly used performance data.

These calls come in sets of three. To start data collection, insert a beginXXXX(). To stop data collection, insert an endXXXX(). Display the metric using printXXXX(). Replace the XXXX with one of the following predefined metrics.

Use the perfmonerror() call to print an error string if -1 (or -1.0) is returned by any of these calls.
Intel Tutorial Notes Previous -- Next
Acknowledgement and Disclaimer