comparison system/System.cpp @ 572:d3faa6447c5b

...
author Chris Cannam
date Fri, 13 Mar 2009 11:06:11 +0000
parents ca208281238b
children d7f3dfe6f9a4
comparison
equal deleted inserted replaced
571:dfc4dd561bb6 572:d3faa6447c5b
67 } now; 67 } now;
68 68
69 ::GetSystemTimeAsFileTime(&now.ft); 69 ::GetSystemTimeAsFileTime(&now.ft);
70 tv->tv_usec = (long)((now.ns100 / 10LL) % 1000000LL); 70 tv->tv_usec = (long)((now.ns100 / 10LL) % 1000000LL);
71 tv->tv_sec = (long)((now.ns100 - 116444736000000000LL) / 10000000LL); 71 tv->tv_sec = (long)((now.ns100 - 116444736000000000LL) / 10000000LL);
72 return 0;
72 } 73 }
73 74
74 } 75 }
75 76
76 #endif 77 #endif