include/win32/timerscfg.h
changeset 565 5fe7a5b0b8a5
parent 145 e747d2e26af0
child 573 29b95f4880e5
--- a/include/win32/timerscfg.h	Thu Jul 16 12:03:37 2009 +0200
+++ b/include/win32/timerscfg.h	Thu Jul 16 13:51:49 2009 +0200
@@ -30,8 +30,9 @@
 // Time resolution : 64bit (~584942 years)
 #define TIMEVAL unsigned long long
 #define TIMEVAL_MAX ~(TIMEVAL)0
-#define MS_TO_TIMEVAL(ms) ms*1000
-#define US_TO_TIMEVAL(us) us
+
+#define MS_TO_TIMEVAL(ms) ms*10000
+#define US_TO_TIMEVAL(us) us*10
 
 #define TASK_HANDLE HANDLE