|
@@ -4,6 +4,7 @@ option(WITH_EXAMPLES "Build with examples" OFF)
|
|
|
option(WITH_MEMORY_SPACE_AWARENESS "Build with memory space awareness" OFF)
|
|
|
option(WITH_FIXED_LISTS "Build with predefined lists of fixed-sized blocks" ON)
|
|
|
option(WITH_STATS "Build with statistics" OFF)
|
|
|
+option(COUNT_ACCESSES "Count memory accesses" OFF)
|
|
|
option(COUNT_HOPS "Count hops per request" OFF)
|
|
|
option(WITH_KNOBS "Build with knobs support" OFF)
|
|
|
option(WITH_ADAPTIVITY "Build with adaptivity" OFF)
|
|
@@ -138,6 +139,10 @@ elseif(WITH_SPLITTING STREQUAL "variable")
|
|
|
set(SPLITTING_VARIABLE ON)
|
|
|
endif(WITH_SPLITTING STREQUAL "fixed")
|
|
|
|
|
|
+if(COUNT_ACCESSES)
|
|
|
+ set(WITH_STATS ON)
|
|
|
+endif(COUNT_HOPS)
|
|
|
+
|
|
|
if(COUNT_HOPS)
|
|
|
set(WITH_STATS ON)
|
|
|
endif(COUNT_HOPS)
|