summaryrefslogtreecommitdiff
path: root/src/profiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiler.cpp')
-rw-r--r--src/profiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profiler.cpp b/src/profiler.cpp
index be8be591e..d05b7abfe 100644
--- a/src/profiler.cpp
+++ b/src/profiler.cpp
@@ -38,7 +38,7 @@ ScopeProfiler::~ScopeProfiler()
return;
float duration_ms = m_timer->stop(true);
- float duration = duration_ms / 1000.0;
+ float duration = duration_ms;
if (m_profiler) {
switch (m_type) {
case SPT_ADD: