@@ -17,7 +17,7 @@ uint64 gettick() {
#else
struct timeval tv;
gettimeofday(&tv, NULL);
- return tv.tv_sec + tv.tv_usec/1000;
+ return tv.tv_sec*1000 + tv.tv_usec/1000;
#endif
}