diff options
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; |