getclock-ms-stub.after (231B)
1 static unsigned getclock_ms(void) 2 { 3 #if BOOTSTRAP 4 return 0; 5 #elif defined(_WIN32) 6 return GetTickCount(); 7 #else 8 struct timeval tv; 9 gettimeofday(&tv, NULL); 10 return tv.tv_sec*1000 + (tv.tv_usec+500)/1000; 11 #endif 12 }