15#include <config.w32.h>
29 unsigned __int64 ff = 0;
32 GetSystemTimePreciseAsFileTime(&ft);
39 fft.HighPart = ft.dwHighDateTime;
40 fft.LowPart = ft.dwLowDateTime;
44 ff -= 11644473600000000Ui64;
46 tv->tv_sec = (long)(ff / 1000000Ui64);
47 tv->tv_usec = (long)(ff % 1000000Ui64);
53 if (time_Info !=
NULL) {
54 getfilesystemtime(time_Info);
57 if (timezone_Info !=
NULL) {
71 due.QuadPart = -(10 * (__int64)useconds);
74 SetWaitableTimer(timer, &due, 0,
NULL,
NULL, 0);
75 WaitForSingleObject(timer, INFINITE);
82 if (rqtp->
tv_nsec > 999999999) {
PHPAPI int usleep(unsigned int useconds)
PHPAPI int nanosleep(const struct timespec *rqtp, struct timespec *rmtp)
PHPAPI int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info)
#define zend_always_inline