*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: get_cyclecount | Section: 9 | Source: FreeBSD | File: get_cyclecount.9.gz
GET_CYCLECOUNT(9) FreeBSD Kernel Developer's Manual GET_CYCLECOUNT(9) NAME get_cyclecount - get the CPU's fast counter register contents SYNOPSIS #include <sys/param.h> #include <sys/systm.h> #include <machine/cpu.h> uint64_t get_cyclecount(void); DESCRIPTION The get_cyclecount() function uses a register available in most modern CPUs to return a value that is monotonically increasing inside each CPU. On SMP systems, there will be a number of separate monotonic sequences, one for each CPU running. The value in the SMP case is selected from one of these sequences, dependent on which CPU was scheduled to service the request. The speed and the maximum value of each counter is CPU-dependent. Some CPUs (such as the Intel 80486) do not have such a register, so get_cyclecount() on these platforms returns a (monotonic) combination of numbers represented by the structure returned by binuptime(9). The AMD64 and Intel 64 processors use the TSC register. SEE ALSO binuptime(9) HISTORY The get_cyclecount() function first appeared in FreeBSD 5.0. AUTHORS This manual page was written by Mark Murray <[email protected]>. FreeBSD 14.1-RELEASE-p8 March 15, 2011 FreeBSD 14.1-RELEASE-p8

Navigation Options