10#error "Use this header only with Microsoft Visual C++ compilers!"
13#ifndef _MSC_SYS_TIME_H_
14#define _MSC_SYS_TIME_H_
24#if defined(_MSC_VER) || defined(_MSC_EXTENSIONS)
25#define DELTA_EPOCH_IN_MICROSECS 11644473600000000Ui64
27#define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL
51 unsigned __int64 tmpres = 0;
55 GetSystemTimeAsFileTime(&ft);
57 tmpres |= ft.dwHighDateTime;
59 tmpres |= ft.dwLowDateTime;
63 tv->tv_sec = (long)(tmpres / 1000000UL);
64 tv->tv_usec = (long)(tmpres % 1000000UL);
long tv_nsec
Definition time.h:37
time_t tv_sec
Definition time.h:33
int tz_minuteswest
Definition time.h:44
int tz_dsttime
Definition time.h:45
static int gettimeofday(struct timeval *tv, struct timezone *tz)
Definition time.h:48
#define DELTA_EPOCH_IN_MICROSECS
Definition time.h:27