diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-11-20 22:22:43 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-11-20 22:22:53 +0200 |
commit | cb874affe89e6fed810dd084841af807740750b4 (patch) | |
tree | 58f86beb1eeba90f51173279c4f6c5666b152246 /sc | |
parent | 1bd21f801626df6e0e73f81b9133de4799b8c7f6 (diff) |
Result should be in seconds, not microseconds
Change-Id: Ic269b120c5c29ab12eb982d46132381d1891d217
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/opencl/opencl_device.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/opencl/opencl_device.cxx b/sc/source/core/opencl/opencl_device.cxx index 90b90332ef1f..3eb415b3f375 100644 --- a/sc/source/core/opencl/opencl_device.cxx +++ b/sc/source/core/opencl/opencl_device.cxx @@ -157,7 +157,7 @@ double timerCurrent(timer* mytimer) if (info.numer == 0) mach_timebase_info(&info); long long stop = mach_absolute_time(); - double time = ((stop - mytimer->start) * (double) info.numer / info.denom) / 1000.0; + double time = ((stop - mytimer->start) * (double) info.numer / info.denom) / 1.0E9; #else struct timespec s; long long stop; |