|A Comparison of Counting and Sampling Modes of Using Performance Monitoring Hardware
|Year of Publication
|International Conference on Computational Science (ICCS 2002)
Performance monitoring hardware is available on most modern microprocessors in the form of hardware counters and other registers that record data about processor events. This hardware may be used in counting mode, in which aggregate events counts are accumulated, and/or in sampling mode, in which time-based or event-based sampling is used to collect profiling data. This paper discusses uses of these two modes and considers the issues of efficiency and accuracy raised by each. Implications for the PAPI cross-platform hardware counter interface are also discussed.
A Comparison of Counting and Sampling Modes of Using Performance Monitoring Hardware
External Publication Flag: