Skip to content

Commit

Permalink
Merge pull request #44502 from Dr15Jones/preloadMessage
Browse files Browse the repository at this point in the history
Modified message from MaxMemoryPreload
  • Loading branch information
cmsbuild authored Mar 22, 2024
2 parents 0d094bb + 2af5216 commit 5bb1d95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions PerfTools/MaxMemoryPreload/src/preload.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ namespace {
auto allocs = nAllocations_.load(std::memory_order_acquire);
auto deallocs = nDeallocations_.load(std::memory_order_acquire);

std::cerr << "Memory Report"
<< "\n total memory requested: " << finalRequested << "\n max memory used: " << maxActual
<< "\n presently used: " << present << "\n # allocations calls: " << allocs
<< "\n # deallocations calls: " << deallocs << "\n";
std::cerr << "Memory Report: total memory requested: " << finalRequested
<< "\nMemory Report: max memory used: " << maxActual << "\nMemory Report: presently used: " << present
<< "\nMemory Report: # allocations calls: " << allocs
<< "\nMemory Report: # deallocations calls: " << deallocs << "\n";
}

private:
Expand Down

0 comments on commit 5bb1d95

Please sign in to comment.