15gettimeofday(
struct timeval *tp,
void *dummy)
32 SystemTimeToFileTime(&st, &ft2);
33 li2.LowPart = ft2.dwLowDateTime;
34 li2.HighPart = ft2.dwHighDateTime;
37 GetSystemTimeAsFileTime(&ft);
38 li.LowPart = ft.dwLowDateTime;
39 li.HighPart = ft.dwHighDateTime;
43 tp->tv_sec = (long)(t / 1000000);
44 tp->tv_usec = (long)(t % 1000000);