30 SystemTimeToFileTime(&st, &ft);
31 return ((uint64_t)ft.dwHighDateTime << 32) | ft.dwLowDateTime;
48 gettimeofday(&tv, NULL);
50 const uint64_t epoch_diff = 11644473600ULL;
51 uint64_t ft = (tv.tv_sec + epoch_diff) * 10000000ULL + tv.tv_usec * 10;
uint64_t get_filetime_uint64()
Gets the current time as a 64-bit FILETIME value.