From 74dfdb0b30e9044e533ebb34cccf30a8eb562243 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Mon, 10 Oct 2016 20:47:00 +0100 Subject: perf_timer: new class and macros to make performance logs easier Call PERF_TIMER(name), which is scoped. --- src/common/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/common/CMakeLists.txt') 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 -- cgit v1.2.3