From 1521f64a79319ee2c6dedafcdcf4c1376d5edb4e Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Mon, 9 Oct 2023 01:14:59 +0200 Subject: [PATCH] Improve slightly memory output for clarity in parallel --- src/utils/ExecutionStatManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/ExecutionStatManager.cpp b/src/utils/ExecutionStatManager.cpp index ec018d00b..adbcd2528 100644 --- a/src/utils/ExecutionStatManager.cpp +++ b/src/utils/ExecutionStatManager.cpp @@ -54,6 +54,7 @@ ExecutionStatManager::_printMaxResidentMemory() const std::cout << "Memory: " << rang::style::bold << Memory{parallel::allReduceSum(memory.value())}.prettyPrint() << rang::style::reset; if (parallel::size() > 1) { + std::cout << " (over " << parallel::size() << " processes)"; std::cout << " Avg: " << rang::style::bold << Memory{parallel::allReduceSum(memory.value()) / parallel::size()}.prettyPrint() << rang::style::reset; std::cout << " Min: " << rang::style::bold << Memory{parallel::allReduceMin(memory.value())}.prettyPrint() -- GitLab