53 sphgtod (
struct timeval *tv,
struct timezone *tz);
__C__ int sphgtod(struct timeval *tv, struct timezone *tz)
Return the timebase converted to gettimeofday struct timeval.
Functions to access the Time Base register (PPC) or clock_gettime(CLOCK_MONOTONIC) measure time at hi...
__C__ sphtimer_t sphget_gtod_conv_factor(void)
Return the timebase-to-gettimeofday conversion factor.
unsigned long long int sphtimer_t
Value from TB/TSC register (64-bits on all platforms).
Definition: sphtimer.h:66
#define __C__
ignore this macro behind the curtain
Definition: sasmsync.h:32
__C__ int sphtb2gtod_withfactor(struct timeval *tv, sphtimer_t timestamp, sphtimer_t tb2gtod_factor)
Return the timebase converted to gettimeofday struct timeval.