LLC2_API
Functions
x86timer.h File Reference

API prototype for x86 timer funcs. More...

Go to the source code of this file.

Functions

unsigned long get_elapsed_microseconds (int reset)
void cpu_delay_awhile (unsigned int delay_microseconds)
unsigned int get_cpu_clock_speed (void)
unsigned long long get_cpu_ticks (void)
unsigned long long get_cpu_usecs (void)

Detailed Description

API prototype for x86 timer funcs.

Definition in file x86timer.h.


Function Documentation

void cpu_delay_awhile ( unsigned int  delay_microseconds)

Definition at line 143 of file x86timer.cpp.

References _get_elapsed_microseconds().

unsigned int get_cpu_clock_speed ( void  )

Definition at line 48 of file x86timer.cpp.

References CPU_CLOCK_SPEED.

Referenced by initCardResource().

unsigned long long get_cpu_ticks ( void  )

Definition at line 26 of file x86timer.cpp.

References rdtscll.

unsigned long long get_cpu_usecs ( void  )

Definition at line 33 of file x86timer.cpp.

References CPU_CLOCK_SPEED, and rdtscll.

Referenced by _get_elapsed_microseconds().

unsigned long get_elapsed_microseconds ( int  reset)

Definition at line 135 of file x86timer.cpp.

References _get_elapsed_microseconds().

Referenced by measureBridge(), and measureBridgeStats().