File tsc_timer.c
FileList > base > tsc_timer.c
Go to the source code of this file
#include "config.h"
#include <fcntl.h>
#include "tsc_timer.h"
#include <sys/time.h>
#include "memory_wrapper.hpp"
Public Static Attributes
Public Functions
Public Static Functions
Macros
Public Static Attributes Documentation
variable cpu_Clock_rate
TSC_UINT64 cpu_Clock_rate;
variable power_Savings
Public Functions Documentation
function tsc_elapsed_time_usec
void tsc_elapsed_time_usec (
TSCTIMEVAL * tv,
TSC_TICKS end_tick,
TSC_TICKS start_tick
)
function tsc_elapsed_utime
UINT64 tsc_elapsed_utime (
TSC_TICKS end_tick,
TSC_TICKS start_tick
)
function tsc_end_time_usec
void tsc_end_time_usec (
TSCTIMEVAL * tv,
TSC_TICKS start_tick
)
function tsc_getticks
void tsc_getticks (
TSC_TICKS * tck
)
function tsc_init
function tsc_start_time_usec
void tsc_start_time_usec (
TSC_TICKS * tck
)
Public Static Functions Documentation
function check_power_savings
static void check_power_savings (
void
)
Macro Definition Documentation
define CALCULATE_ELAPSED_TIMEVAL
#define CALCULATE_ELAPSED_TIMEVAL (
time,
end,
start
) `/* multi line expression */`
define CALCULATE_ELAPSED_TIME_USEC
#define CALCULATE_ELAPSED_TIME_USEC (
time,
diff,
freq
) `/* multi line expression */`
define CHECK_CPU_FREQ
#define CHECK_CPU_FREQ (
v
) `/* multi line expression */`
The documentation for this class was generated from the following file cubrid/src/base/tsc_timer.c