aboutsummaryrefslogtreecommitdiff
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-10 20:47:00 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-10 21:24:15 +0100
commit74dfdb0b30e9044e533ebb34cccf30a8eb562243 (patch)
tree5f75702dafa511003928c3399590d1fe0daaf25b /src/common/CMakeLists.txt
parentMerge pull request #1201 (diff)
downloadmonero-74dfdb0b30e9044e533ebb34cccf30a8eb562243.tar.xz
perf_timer: new class and macros to make performance logs easier
Call PERF_TIMER(name), which is scoped.
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r--src/common/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 6bf8b1777..4b6149cbd 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -31,7 +31,8 @@ set(common_sources
command_line.cpp
dns_utils.cpp
util.cpp
- i18n.cpp)
+ i18n.cpp
+ perf_timer.cpp)
if (STACK_TRACE)
list(APPEND common_sources stack_trace.cpp)
@@ -53,6 +54,7 @@ set(common_private_headers
util.h
varint.h
i18n.h
+ perf_timer.h
stack_trace.h)
monero_private_headers(common