timing-freebsd.C File Reference

#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"

Function Documentation

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.


Variable Documentation

const char* PROC_FREQ_MIB = "dev.cpu.0.freq" [static]

Definition at line 35 of file timing-freebsd.C.

Referenced by calcCyclesPerSecond_sys().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1