Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

MemUsage Class Reference

#include <infolines.h>

Collaboration diagram for MemUsage:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MemUsage ()
double getPeakMem () const
double getEstimate () const
 operator double () const

Private Attributes

double _peak
double _estimate

Constructor & Destructor Documentation

MemUsage::MemUsage  ) 
 

Definition at line 181 of file platfDepend.cxx.

References _estimate, _peak, getMemoryUsageEstimate(), and getPeakMemoryUsage().

00182 {
00183   _peak=getPeakMemoryUsage();
00184   #if (defined(sun) || defined(__SUNPRO_CC) || defined(linux))
00185     _estimate=_peak;
00186     return ;
00187   #endif
00188   _estimate=getMemoryUsageEstimate();
00189 }

Here is the call graph for this function:


Member Function Documentation

double MemUsage::getEstimate  )  const [inline]
 

Definition at line 122 of file infolines.h.

References _estimate.

Referenced by operator<<().

00122 { return _estimate; }

double MemUsage::getPeakMem  )  const [inline]
 

Definition at line 121 of file infolines.h.

References _peak.

00121 { return _peak; }

MemUsage::operator double  )  const [inline]
 

Definition at line 123 of file infolines.h.

References _estimate.

00123 { return _estimate; }


Member Data Documentation

double MemUsage::_estimate [private]
 

Definition at line 117 of file infolines.h.

Referenced by getEstimate(), MemUsage(), and operator double().

double MemUsage::_peak [private]
 

Definition at line 115 of file infolines.h.

Referenced by getPeakMem(), and MemUsage().


The documentation for this class was generated from the following files:
Generated on Mon Apr 25 01:14:40 2005 for Parquete by doxygen 1.3.2