OSDN Git Service

gallium/os: Fix nano->micro second concersion.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 8 Dec 2012 11:15:46 +0000 (11:15 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 8 Dec 2012 11:15:46 +0000 (11:15 +0000)
copy'n'paste: best friend, worst enemy..

Trivial.

src/gallium/auxiliary/os/os_time.h

index 517de9b..4fab03c 100644 (file)
@@ -62,7 +62,7 @@ os_time_get_nano(void);
  */
 static INLINE int64_t
 os_time_get(void) {
-    return os_time_get_nano() * 1000;
+    return os_time_get_nano() / 1000;
 }