Skip to content

Commit

Permalink
Merge pull request #40749 from Dr15Jones/reportRSS
Browse files Browse the repository at this point in the history
Extended SimpleMemoryCheck to print RSS info to the logger
  • Loading branch information
cmsbuild authored Feb 11, 2023
2 parents a6e0e91 + 9437322 commit 6f5b833
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 6f5b833

Please sign in to comment.