A Comparison of Counting and Sampling Modes of Using Performance Monitoring Hardware

TitleA Comparison of Counting and Sampling Modes of Using Performance Monitoring Hardware
Publication TypeConference Paper
Year of Publication2002
AuthorsMoore, S.
Conference NameInternational Conference on Computational Science (ICCS 2002)
Date Published2002-04
PublisherSpringer
Conference LocationAmsterdam, Netherlands
Keywordspapi
Abstract

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.

DOI10.1007/3-540-46080-2_95
Project Tags: 
External Publication Flag: