LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
memoryReportLinux.cc
Go to the documentation of this file.
2 #include "art/Utilities/LinuxProcMgr.h"
4 
5 using mf::LogPrint;
6 
7 void
9 {
10  LinuxProcMgr procInfo{};
11  LogPrint("ArtSummary") << "MemReport "
12  << "---------- Memory summary [base-10 MB] ------";
13  LogPrint("ArtSummary") << "MemReport VmPeak = " << procInfo.getVmPeak()
14  << " VmHWM = " << procInfo.getVmHWM();
15  LogPrint("ArtSummary") << "";
16 }
MaybeLogger_< ELseverityLevel::ELsev_warning, true > LogPrint