ATLAS Offline Software
Loading...
Searching...
No Matches
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){}
MsgStream & m_out
Definition MStrStream.h:21

◆ ~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]);
14}
#define endmsg
std::pair< std::vector< unsigned int >, bool > res

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: