Watt-32 tcp/ip  2.2 dev-rel.10
Functions | Variables
gettod.c File Reference

Go to the source code of this file.


static void get_zone (struct timezone *tz, time_t now)
static __inline uint64 FileTimeToUnixEpoch (const FILETIME *ft)
W32_FUNC int W32_CALL
gettimeofday (struct timeval *tv, struct timezone *tz)
void set_utc_offset (void)
 Called from init_timers() once.
static __inline uint64 microsec_clock (void)
static uint64 tsc_microsec (const uint64 *base)
static void adjust_cpu_clock (const struct timeval *tv)
BOOL get_tv_from_tsc (const struct ulong_long *tsc, struct timeval *tv)
int W32_CALL gettimeofday2 (struct timeval *tv, struct timezone *tz)
static __inline BOOL day_rollover (void)
static void usleep (DWORD usec)
int main (int argc, char **argv)


static long utc_offset = 0

Detailed Description

gettimeofday() for non-djgpp targets and
gettimeofday2() for higher accuracy timing.

Definition in file gettod.c.