From 801822c36bfc0c51739455d30b997a1b3e688870 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Mar 2013 17:11:54 +0300 Subject: Devide profiler time to 100. --- src/utils/perfomance.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/perfomance.cpp') diff --git a/src/utils/perfomance.cpp b/src/utils/perfomance.cpp index 725022f8e..c73b271c0 100644 --- a/src/utils/perfomance.cpp +++ b/src/utils/perfomance.cpp @@ -39,8 +39,8 @@ //static const clockid_t clockType = CLOCK_PROCESS_CPUTIME_ID; static const clockid_t clockType = CLOCK_MONOTONIC; -#define timeData (static_cast(time.tv_sec) * 1000000000LL \ - + static_cast(time.tv_nsec)) +#define timeData ((static_cast(time.tv_sec) * 1000000000LL \ + + static_cast(time.tv_nsec)) / 1000) namespace Perfomance { -- cgit v1.2.3-70-g09d2