Check out my first novel, midnight's simulacra!

Performance Counters

From dankwiki
Revision as of 16:05, 28 September 2008 by Dank (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • 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)