Submitted by webmaster on
|Title||A Comparison of Counting and Sampling Modes of Using Performance Monitoring Hardware|
|Publication Type||Conference Paper|
|Year of Publication||2002|
|Conference Name||International Conference on Computational Science (ICCS 2002)|
|Conference Location||Amsterdam, Netherlands|
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.