ATLAS Offline Software
MStrStream.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "CoWTools/MStrStream.h"
7 
9  char buff[2048];
10  const long long * vals=res.getValueArray();
11  snprintf(buff,2048,"VMem= %8lld, RSS= %8lld, PSS= %8lld, Shared= %8lld, Private= %8lld, Swap=%8lld, Anon= %8lld",
12  vals[0],vals[1],vals[2],vals[3]+vals[4],vals[5]+vals[6],vals[10],vals[8]);
13  m_out<<buff<<endmsg;
14 }
get_hdefs.buff
buff
Definition: get_hdefs.py:61
CoWTools::MStrStream::m_out
MsgStream & m_out
Definition: MStrStream.h:21
MStrStream.h
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
res
std::pair< std::vector< unsigned int >, bool > res
Definition: JetGroupProductTest.cxx:14
CoWTools::CoWRecordStats
Definition: CoWRecordStats.h:13
CoWTools::MStrStream::putResults
virtual void putResults(const CoWRecordStats &)
Definition: MStrStream.cxx:8
CoWRecordStats.h
PlotCalibFromCool.vals
vals
Definition: PlotCalibFromCool.py:474