XROAD
xroad_priv_tsc_conv_t Struct Reference

Internal structure with TSC <-> wallclock conversion constants. More...

#include <xroad_tsc.h>

Public Attributes

uint64_t khz
 TSC frequency in kilohertz.
 
uint64_t tsc2ns_mult
 Multiplier fot TSC->nsec conversion.
 
uint64_t ns2tsc_mult
 Multiplier fot nsec->TSC conversion.
 
uint64_t tsc_1_sec
 Cached value of TSC cycles in 1 second.
 

Detailed Description

Internal structure with TSC <-> wallclock conversion constants.


The documentation for this struct was generated from the following file: