ATLAS Offline Software
Control
CoWTools
src
StrStream.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/StrStream.h
"
6
#include "
CoWTools/CoWRecordStats.h
"
7
8
void
CoWTools::StrStream::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
;
14
}
get_hdefs.buff
buff
Definition:
get_hdefs.py:61
StrStream.h
res
std::pair< std::vector< unsigned int >, bool > res
Definition:
JetGroupProductTest.cxx:14
CoWTools::StrStream::putResults
virtual void putResults(const CoWRecordStats &)
Definition:
StrStream.cxx:8
CoWTools::CoWRecordStats
Definition:
CoWRecordStats.h:13
CoWRecordStats.h
CoWTools::StrStream::m_out
std::string & m_out
Definition:
StrStream.h:20
PlotCalibFromCool.vals
vals
Definition:
PlotCalibFromCool.py:474
Generated on Wed Jan 8 2025 21:17:39 for ATLAS Offline Software by
1.8.18