pmc.tsc man page on FreeBSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
FreeBSD logo
[printable version]

PMC.TSC(3)		 BSD Library Functions Manual		    PMC.TSC(3)

     pmc.tsc — measurements using the i386 timestamp counter

     Performance Counters Library (libpmc, -lpmc)

     #include <pmc.h>

     In the i386 architecture, the timestamp counter is a monotonically non-
     decreasing counter that counts processor cycles.

     This counter may be selected specifying an event specifier “tsc” to
     pmc_allocate(3).  The TSC is a read-only counter that may only be allo‐
     cated in system-wide counting mode.  The “tsc” event does not support
     further event qualifiers.

     Multiple processes are allowed to allocate the TSC.  Once allocated, the
     TSC may be read using the pmc_read() function, or by using the RDTSC

   Event Name Aliases
     The alias “cycles” maps to the TSC.

     pmc(3), pmc.atom(3), pmc.core(3), pmc.core2(3), pmc.iaf(3), pmc.k7(3),
     pmc.k8(3), pmc.p4(3), pmc.p5(3), pmc.p6(3), pmclog(3), hwpmc(4)

     The pmc library first appeared in FreeBSD 6.0.

     The Performance Counters Library (libpmc, -lpmc) library was written by
     Joseph Koshy ⟨⟩.

BSD				October 4, 2008				   BSD

List of man pages available for FreeBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net