Public Member Functions | Private Attributes | Friends | List of all members
art::detail::LinuxMallInfo Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Services/Optional/detail/LinuxMallInfo.h"

Public Member Functions

 LinuxMallInfo ()
 
struct mallinfo get () const
 

Private Attributes

struct mallinfo minfo_
 

Friends

std::ostream & operator<< (std::ostream &os, LinuxMallInfo const &info)
 

Detailed Description

Definition at line 37 of file LinuxMallInfo.h.

Constructor & Destructor Documentation

art::detail::LinuxMallInfo::LinuxMallInfo ( )
inline

Definition at line 39 of file LinuxMallInfo.h.

39 : minfo_(mallinfo()) {}

Member Function Documentation

struct mallinfo art::detail::LinuxMallInfo::get ( ) const
inline

Definition at line 42 of file LinuxMallInfo.h.

References minfo_.

Referenced by art::MemoryTracker::recordEventData(), and art::MemoryTracker::recordModuleData().

43  {
44  return minfo_;
45  }

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
LinuxMallInfo const &  info 
)
friend

Definition at line 55 of file LinuxMallInfo.h.

56  {
57  auto const& minfo = info.minfo_;
58  os << " HEAP-ARENA [ SIZE-BYTES " << minfo.arena << " N-UNUSED-CHUNKS "
59  << minfo.ordblks << " TOP-FREE-BYTES " << minfo.keepcost << " ]"
60  << " HEAP-MAPPED [ SIZE-BYTES " << minfo.hblkhd << " N-CHUNKS "
61  << minfo.hblks << " ]"
62  << " HEAP-USED-BYTES " << minfo.uordblks << " HEAP-UNUSED-BYTES "
63  << minfo.fordblks;
64  return os;
65  }
const XML_Char XML_Encoding * info
Definition: expat.h:530

Member Data Documentation

struct mallinfo art::detail::LinuxMallInfo::minfo_
private

Definition at line 48 of file LinuxMallInfo.h.

Referenced by get(), and art::detail::operator<<().


The documentation for this class was generated from the following file: