LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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{1};
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