Check out my first novel, midnight's simulacra!
Performance Counters: Difference between revisions
From dankwiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
* RDPMC instruction: http://www.x86.org/secrets/opcodes/rdpmc.htm | * RDPMC instruction: http://www.x86.org/secrets/opcodes/rdpmc.htm | ||
* FreeBSD includes libpmc as part of the base system | * FreeBSD includes libpmc as part of the base system | ||
* On Linux, we have [http://perfmon2.sourceforge.net/ libpfm] | * On Linux, we have [http://perfmon2.sourceforge.net/ libpfm] from perfmon2 | ||
* This is the preferred way we get at TSC (TSC has fallen out of favor, though) | * This is the preferred way we get at [[x86 timing|TSC]] (TSC has fallen out of favor, though) | ||
* Collectors include [[oprofile]] and [[perf]]. | * Collectors include [[oprofile]] and [[perf]]. |