Skip to content

Commit fa91cc4

Browse files
committed
added memory benchmarking
1 parent a88dd17 commit fa91cc4

2 files changed

Lines changed: 370 additions & 329 deletions

File tree

algorithms/partitioner/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ add_library(sbg-part-lib STATIC)
44
set_target_properties(sbg-part-lib PROPERTIES DEBUG_POSTFIX "d")
55
target_include_directories(sbg-part-lib PUBLIC ${PROJECT_SOURCE_DIR})
66

7+
set(ENABLE_MEMORY_BENCHMARKING OFF)
8+
if(ENABLE_MEMORY_BENCHMARKING)
9+
add_compile_definitions(USE_MEMORY_TRACKER)
10+
endif()
11+
712
target_sources(
813
sbg-part-lib
914
PRIVATE

0 commit comments

Comments
 (0)