summaryrefslogtreecommitdiff
path: root/src/utils/perfomance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/perfomance.cpp')
-rw-r--r--src/utils/perfomance.cpp4
1 files changed, 2 insertions, 2 deletions
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<long long int>(time.tv_sec) * 1000000000LL \
- + static_cast<long long int>(time.tv_nsec))
+#define timeData ((static_cast<long long int>(time.tv_sec) * 1000000000LL \
+ + static_cast<long long int>(time.tv_nsec)) / 1000)
namespace Perfomance
{