summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-01-10 16:09:57 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2014-01-10 16:10:31 +0000
commit84af2b9be8792fb288d4ce75821a27706e5351c3 (patch)
tree113be603359b3e8900fe060bf109dbb4724dae61
parentf62abaff99792f10962b1aa072b8a3b314765591 (diff)
gem_gtt_hog: Print elapsed time in ms
Missed one last diff before pushing
-rw-r--r--tests/gem_gtt_hog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_gtt_hog.c b/tests/gem_gtt_hog.c
index 9a1f426c..73c4e9e6 100644
--- a/tests/gem_gtt_hog.c
+++ b/tests/gem_gtt_hog.c
@@ -170,8 +170,8 @@ int main(int argc, char **argv)
igt_assert(status == 0);
}
gettimeofday(&end, NULL);
- printf("Time to execute %lu children: %7.3fµs\n",
- ARRAY_SIZE(children), elapsed(&start, &end));
+ printf("Time to execute %lu children: %7.3fms\n",
+ ARRAY_SIZE(children), elapsed(&start, &end) / 1000);
return 0;
}