diff options
author | Lars <larsh@apache.org> | 2020-12-20 19:22:04 -0800 |
---|---|---|
committer | lhofhansl <larsh@apache.org> | 2020-12-23 14:48:08 -0800 |
commit | 289425f6bd6cfe1f66218918d9d5bd1b9f89aa7c (patch) | |
tree | 8f0f16a081b6620f5d3c8d86931eb9a04e302e3c /src/profiler.cpp | |
parent | 2c3593b51eef193eb543a08eb1e83c37e2fafe72 (diff) | |
download | hax-minetest-server-289425f6bd6cfe1f66218918d9d5bd1b9f89aa7c.tar.gz hax-minetest-server-289425f6bd6cfe1f66218918d9d5bd1b9f89aa7c.zip |
Minor profiler fixes.
Diffstat (limited to 'src/profiler.cpp')
-rw-r--r-- | src/profiler.cpp | 2 |
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: |