File tsc_timer.h¶
FileList > base > tsc_timer.h
Go to the source code of this file
#include "porting.h"#include "cycle.h"
Public Types¶
| Type | Name |
|---|---|
| typedef struct timeval | TSCTIMEVAL |
| typedef union tsc_ticks | TSC_TICKS |
| typedef UINT64 | TSC_UINT64 |
| union | tsc_ticks |
Public Functions¶
| Type | Name |
|---|---|
| TSC_UINT64 | get_clock_freq (void) |
| void | tsc_elapsed_time_usec (TSCTIMEVAL * tv, TSC_TICKS end_tick, TSC_TICKS start_tick) |
| UINT64 | tsc_elapsed_utime (TSC_TICKS end_tick, TSC_TICKS start_tick) |
| void | tsc_end_time_usec (TSCTIMEVAL * tv, TSC_TICKS start_tick) |
| void | tsc_getticks (TSC_TICKS * tck) |
| void | tsc_init (void) |
| void | tsc_start_time_usec (TSC_TICKS * tck) |
Macros¶
| Type | Name |
|---|---|
| define | TSC_ADD_TIMEVAL (total, diff) /* multi line expression */ |
Public Types Documentation¶
typedef TSCTIMEVAL¶
typedef TSC_TICKS¶
typedef TSC_UINT64¶
union tsc_ticks¶
Public Functions Documentation¶
function get_clock_freq¶
function tsc_elapsed_time_usec¶
function tsc_elapsed_utime¶
function tsc_end_time_usec¶
function tsc_getticks¶
function tsc_init¶
function tsc_start_time_usec¶
Macro Definition Documentation¶
define TSC_ADD_TIMEVAL¶
The documentation for this class was generated from the following file cubrid/src/base/tsc_timer.h