Skip to content

Commit adc24db

Browse files
committed
Disabling unwanted metrics, removing the flag from CMakeLists and a corretion in State Transfer code
1 parent 4e49669 commit adc24db

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ option(BUILD_THIRDPARTY "Wheter to build third party librarie or use preinstalle
4747
option(CODECOVERAGE "Enable Code Coverage Metrics in Clang" OFF)
4848
option(ENABLE_RESTART_RECOVERY_TESTS "Enable tests for restart recovery" OFF)
4949
option(BUILD_UTT "Build UTT library" OFF)
50-
option(CONCORD_ENABLE_ALL_METRICS "Enable all metrics in concord" ON)
5150

5251
if(USE_OPENSSL AND NOT BUILD_THIRDPARTY)
5352
set(OPENSSL_ROOT_DIR /usr/local/ssl) # not to confuse with system ssl libs

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ CONCORD_BFT_CMAKE_CODECOVERAGE?=FALSE
6464
CONCORD_BFT_CMAKE_CCACHE?=TRUE
6565
CONCORD_BFT_CMAKE_USE_FAKE_CLOCK_IN_TIME_SERVICE?=FALSE
6666
ENABLE_RESTART_RECOVERY_TESTS?=FALSE
67-
CONCORD_ENABLE_ALL_METRICS?=TRUE
67+
CONCORD_ENABLE_ALL_METRICS?=FALSE
6868

6969
ifeq (${CONCORD_BFT_CMAKE_ASAN},TRUE)
7070
CONCORD_BFT_CMAKE_CXX_FLAGS_RELEASE='-O0 -g'

bftengine/src/bcstatetransfer/BCStateTran.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,8 +663,8 @@ class BCStateTran : public IStateTransfer {
663663

664664
#ifdef ENABLE_ALL_METRICS
665665
CounterHandle handle_AskForCheckpointSummaries_msg_;
666-
#endif
667666
CounterHandle handle_CheckpointsSummary_msg_;
667+
#endif
668668
CounterHandle handle_FetchBlocks_msg_;
669669
CounterHandle handle_FetchResPages_msg_;
670670
CounterHandle handle_RejectFetching_msg_;

0 commit comments

Comments
 (0)