From 4b0d8e5e63968145c265976f21f28e0af557c503 Mon Sep 17 00:00:00 2001 From: Victor Zarubkin Date: Tue, 2 Aug 2016 21:20:38 +0300 Subject: [PATCH] (profiler Reader fix) Added thread_name assignment into BlocksTree::makeMove() --- include/profiler/reader.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/profiler/reader.h b/include/profiler/reader.h index bbfffc4..a2b22eb 100644 --- a/include/profiler/reader.h +++ b/include/profiler/reader.h @@ -99,7 +99,7 @@ struct BlocksTree ::profiler::SerilizedBlock* node; ::profiler::BlockStatistics* frame_statistics; ///< Pointer to statistics for this block within the parent (may be nullptr for top-level blocks) ::profiler::BlockStatistics* total_statistics; ///< Pointer to statistics for this block within the bounds of all frames per current thread - const char* thread_name; + const char* thread_name; #ifdef PROFILER_COUNT_TOTAL_CHILDREN_NUMBER unsigned int total_children_number; ///< Number of all children including number of grandchildren (and so on) @@ -178,6 +178,7 @@ private: node = that.node; frame_statistics = that.frame_statistics; total_statistics = that.total_statistics; + thread_name = that.thread_name; #ifdef PROFILER_COUNT_TOTAL_CHILDREN_NUMBER total_children_number = that.total_children_number;