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

MemChange Class Reference

#include <infolines.h>

Collaboration diagram for MemChange:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MemChange ()
void resetMark ()
 operator double () const

Private Attributes

double _memUsageMark

Constructor & Destructor Documentation

MemChange::MemChange  ) 
 

Definition at line 196 of file platfDepend.cxx.

References resetMark().

00197 {
00198   resetMark();
00199 }

Here is the call graph for this function:


Member Function Documentation

MemChange::operator double  )  const
 

Definition at line 201 of file platfDepend.cxx.

References _memUsageMark, and getPeakMemoryUsage().

00202 {
00203 #if defined(sun) || defined(linux) || defined(__SUNPRO_CC)
00204   return getPeakMemoryUsage()-_memUsageMark;
00205 #else
00206   return -1.0;
00207 #endif
00208 }

Here is the call graph for this function:

void MemChange::resetMark  ) 
 

Definition at line 191 of file platfDepend.cxx.

References _memUsageMark, and getMemoryUsageEstimate().

Referenced by MemChange().

00192 {
00193   _memUsageMark=getMemoryUsageEstimate();
00194 }

Here is the call graph for this function:


Member Data Documentation

double MemChange::_memUsageMark [private]
 

Definition at line 150 of file infolines.h.

Referenced by operator double(), and resetMark().


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