#include <sys/types.h>#include <sys/sysctl.h>#include "common/h/timing.h"Go to the source code of this file.
Functions | |
| double | calcCyclesPerSecond_sys () |
| double | calcCyclesPerSecondOS () |
Variables | |
| static const char * | PROC_FREQ_MIB = "dev.cpu.0.freq" |
| double calcCyclesPerSecond_sys | ( | ) |
Definition at line 42 of file timing-freebsd.C.
References cpsMethodNotAvailable, and PROC_FREQ_MIB.
| double calcCyclesPerSecondOS | ( | ) |
Definition at line 53 of file timing-freebsd.C.
References calcCyclesPerSecond_sys(), and cpsMethodNotAvailable.
const char* PROC_FREQ_MIB = "dev.cpu.0.freq" [static] |
Definition at line 35 of file timing-freebsd.C.
Referenced by calcCyclesPerSecond_sys().
1.6.1