Check out my first novel, midnight's simulacra!
Performance Counters: Difference between revisions
From dankwiki
m (1 revision) |
No edit summary |
||
Line 4: | Line 4: | ||
* On Linux, we have libpfm | * On Linux, we have libpfm | ||
* This is the preferred way we get at TSC (TSC has fallen out of favor, though) | * This is the preferred way we get at TSC (TSC has fallen out of favor, though) | ||
* Collectors include [[oprofile]] and [[perf]]. |
Revision as of 10:04, 19 September 2009
- Normally driven through MSRs
- RDPMC instruction: http://www.x86.org/secrets/opcodes/rdpmc.htm
- FreeBSD includes libpmc as part of the base system
- On Linux, we have libpfm
- This is the preferred way we get at TSC (TSC has fallen out of favor, though)
- Collectors include oprofile and perf.