Skip to content

Commit

Permalink
Extended SimpleMemoryCheck to print RSS info to the logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr15Jones committed Feb 10, 2023
1 parent 2f899a2 commit 9437322
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion FWCore/Services/plugins/SimpleMemoryCheck.cc
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,16 @@ namespace edm {
<< eventR2_ << "\n"
<< eventT3_ << "\n"
<< eventT2_ << "\n"
<< eventT1_;
<< eventT1_ << "\nMemoryReport> Peak rss size " << eventRssT1_.rss
<< " Mbytes"
"\n Key events increasing rss:\n"
<< eventRssT3_ << "\n"
<< eventRssT2_ << "\n"
<< eventRssT1_ << "\n"
<< eventDeltaRssT3_ << "\n"
<< eventDeltaRssT2_ << "\n"
<< eventDeltaRssT1_;
;
}
if (moduleSummaryRequested_ and not jobReportOutputOnly_) { // changelog 1
LogAbsolute mmr("ModuleMemoryReport"); // at end of if block, mmr
Expand Down

0 comments on commit 9437322

Please sign in to comment.