summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-12-08 11:15:46 +0000
committerJosé Fonseca <[email protected]>2012-12-08 11:15:46 +0000
commit122dfc5ee25ec4faf040baf5dc834d144bb3a42c (patch)
tree4ee2353c7f005746b66cf75a08bcc93d8dbc8035
parent1f688327e68cef28c4bd1f49e2338bae7c434f5e (diff)
gallium/os: Fix nano->micro second concersion.
copy'n'paste: best friend, worst enemy.. Trivial.
-rw-r--r--src/gallium/auxiliary/os/os_time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/os/os_time.h b/src/gallium/auxiliary/os/os_time.h
index 517de9b0474..4fab03cc671 100644
--- a/src/gallium/auxiliary/os/os_time.h
+++ b/src/gallium/auxiliary/os/os_time.h
@@ -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;
}