diff --git a/src/backends/extrae/extrae_type_stack.cpp b/src/backends/extrae/extrae_type_stack.cpp index a5b5c49e4f3dd0a03a6f10e573ec2a9ce12666fd..97e472cd3ae739f347beca13ff21901597b56b79 100644 --- a/src/backends/extrae/extrae_type_stack.cpp +++ b/src/backends/extrae/extrae_type_stack.cpp @@ -52,6 +52,8 @@ window_intercomms_enabled true window_comm_fromto true window_comm_tagsize true window_comm_typeval true +window_maximum_y NESMIK_REPLACE_SEMANTIC_MAX +window_minimum_y 0 window_compute_y_max false window_level thread window_scale_relative 1.000000000000 @@ -91,6 +93,8 @@ window_intercomms_enabled true window_comm_fromto true window_comm_tagsize true window_comm_typeval true +window_maximum_y NESMIK_REPLACE_SEMANTIC_MAX +window_minimum_y 0 window_compute_y_max false window_level thread window_scale_relative 1.000000000000 @@ -227,8 +231,11 @@ void ExtraeTypeStackStrategy::Finalize() noexcept { auto replacedWindowHeightOverview = std::regex_replace( overviewReplacedNumLevels, std::regex("NESMIK_REPLACE_WINDOW_HEIGHT"), std::to_string(paraverConfigWindowHeight_)); + auto replacedWindowSemanticMaxOverview = std::regex_replace( + replacedWindowHeightOverview, std::regex("NESMIK_REPLACE_SEMANTIC_MAX"), + std::to_string(numberOfRegionsRegistered)); auto overviewReplacedAllTypes = - std::regex_replace(replacedWindowHeightOverview, + std::regex_replace(replacedWindowSemanticMaxOverview, std::regex("NESMIK_REPLACE_LEVELS"), allTypesString); // write Overview @@ -252,8 +259,11 @@ void ExtraeTypeStackStrategy::Finalize() noexcept { std::to_string( (paraverConfigWindowHeight_ + paraverConfigWindowHeightPad_) * (level + 2 /* offset with overview window */))); + auto replacedWindowSemanticMax = std::regex_replace( + replacedWindowYPosition, std::regex("NESMIK_REPLACE_SEMANTIC_MAX"), + std::to_string(numberOfRegionsRegistered)); auto replacedWindowName = std::regex_replace( - replacedWindowYPosition, std::regex("NESMIK_REPLACE_WINDOW_NAME"), + replacedWindowSemanticMax, std::regex("NESMIK_REPLACE_WINDOW_NAME"), windowName); // write Overview