--- a/include/none/timerscfg.h Fri Jun 15 18:24:51 2012 +0200
+++ b/include/none/timerscfg.h Mon Jun 18 02:27:19 2012 +0200
@@ -23,12 +23,12 @@
#ifndef __TIMERSCFG_H__
#define __TIMERSCFG_H__
-/* Time unit : us */
-/* Time resolution : 64bit (~584942 years) */
+/* Time unit : ns */
+/* Time resolution : 64bit (~585 years) */
#define TIMEVAL unsigned long long
#define TIMEVAL_MAX ~(TIMEVAL)0
-#define MS_TO_TIMEVAL(ms) ms*1000L
-#define US_TO_TIMEVAL(us) us
+#define MS_TO_TIMEVAL(ms) ms*1000000L
+#define US_TO_TIMEVAL(us) us*1000L
#define TASK_HANDLE void*