ATLAS Offline Software
Loading...
Searching...
No Matches
Control
CoWTools
src
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
"
6
#include "
CoWTools/CoWRecordStats.h
"
7
8
void
CoWTools::MStrStream::putResults
(
const
CoWTools::CoWRecordStats
&
res
){
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
}
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:63
CoWRecordStats.h
res
std::pair< std::vector< unsigned int >, bool > res
Definition
JetGroupProductTest.cxx:11
MStrStream.h
CoWTools::CoWRecordStats
Definition
CoWRecordStats.h:13
CoWTools::MStrStream::m_out
MsgStream & m_out
Definition
MStrStream.h:21
CoWTools::MStrStream::putResults
virtual void putResults(const CoWRecordStats &)
Definition
MStrStream.cxx:8
Generated on
for ATLAS Offline Software by
1.14.0