From 357b21fc359517396b68a4645ad3f36c13a33800 Mon Sep 17 00:00:00 2001 From: Shamser Ahmed Date: Fri, 22 Sep 2023 14:38:59 +0100 Subject: [PATCH] Changes following review Signed-off-by: Shamser Ahmed --- common/thorhelper/thorcommon.hpp | 2 +- system/jlib/jstats.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/common/thorhelper/thorcommon.hpp b/common/thorhelper/thorcommon.hpp index ba343aa8563..5ed38751c89 100644 --- a/common/thorhelper/thorcommon.hpp +++ b/common/thorhelper/thorcommon.hpp @@ -676,7 +676,7 @@ class THORHELPER_API IndirectCodeContext : implements ICodeContext class CStatsContextLogger : public CSimpleInterfaceOf { protected: - const LogMsgJobInfo & job; + const LogMsgJobInfo job; unsigned traceLevel = 1; LogTrace logTrace; mutable CRuntimeStatisticCollection stats; diff --git a/system/jlib/jstats.h b/system/jlib/jstats.h index 24c2d3674e7..3d6b5069576 100644 --- a/system/jlib/jstats.h +++ b/system/jlib/jstats.h @@ -492,6 +492,7 @@ extern const jlib_decl StatisticsMapping diskLocalStatistics; extern const jlib_decl StatisticsMapping diskRemoteStatistics; extern const jlib_decl StatisticsMapping diskReadRemoteStatistics; extern const jlib_decl StatisticsMapping diskWriteRemoteStatistics; +extern const jlib_decl StatisticsMapping jhtreeCacheStatistics; //--------------------------------------------------------------------------------------------------------------------- @@ -943,6 +944,4 @@ class jlib_decl RuntimeStatisticTarget : implements IStatisticTarget extern jlib_decl StringBuffer & formatMoney(StringBuffer &out, unsigned __int64 value); extern jlib_decl stat_type aggregateStatistic(StatisticKind kind, IStatisticCollection * statsCollection); -extern jlib_decl const StatisticsMapping jhtreeCacheStatistics; - #endif