ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
CoWTools::MStrStream Class Reference

#include <MStrStream.h>

Inheritance diagram for CoWTools::MStrStream:
Collaboration diagram for CoWTools::MStrStream:

Public Member Functions

 MStrStream (MsgStream &out)
 
 ~MStrStream ()
 
virtual void putResults (const CoWRecordStats &)
 

Private Attributes

MsgStream & m_out
 

Detailed Description

Definition at line 15 of file MStrStream.h.

Constructor & Destructor Documentation

◆ MStrStream()

CoWTools::MStrStream::MStrStream ( MsgStream &  out)
inline

Definition at line 17 of file MStrStream.h.

17 :m_out(out){}

◆ ~MStrStream()

CoWTools::MStrStream::~MStrStream ( )
inline

Definition at line 18 of file MStrStream.h.

18 {};

Member Function Documentation

◆ putResults()

void CoWTools::MStrStream::putResults ( const CoWRecordStats res)
virtual

Implements CoWTools::StreamBase.

Definition at line 8 of file MStrStream.cxx.

8  {
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 }

Member Data Documentation

◆ m_out

MsgStream& CoWTools::MStrStream::m_out
private

Definition at line 21 of file MStrStream.h.


The documentation for this class was generated from the following files:
get_hdefs.buff
buff
Definition: get_hdefs.py:61
CoWTools::MStrStream::m_out
MsgStream & m_out
Definition: MStrStream.h:21
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
res
std::pair< std::vector< unsigned int >, bool > res
Definition: JetGroupProductTest.cxx:14
PlotCalibFromCool.vals
vals
Definition: PlotCalibFromCool.py:474