StMemStat Class Reference

#include <StMemStat.h>

List of all members.

Public Member Functions

 StMemStat (const char *name=0)
void Start ()
void Stop ()
virtual void Print (const char *tit="") const

Static Public Member Functions

static Double_t Used ()
static Double_t Free ()
static Double_t ProgSize ()
static void PrintMem (const char *tit)
static void PM ()
static void Summary ()


Detailed Description

Author:
Victor Perev, Jul 2000
Simplified version of StMemStatoryInfo class of Thomas Ullrich Measurement of used heap memory and total program size

Note: on Solaris should be linked with -lmalloc

Definition at line 22 of file StMemStat.h.


Member Function Documentation

Double_t StMemStat::Free (  )  [static]

Free heap memory in MB

Definition at line 132 of file StMemStat.cxx.

Referenced by PrintMem().

void StMemStat::PM (  )  [static]

Prints fast current heap

Definition at line 207 of file StMemStat.cxx.

References Used().

void StMemStat::PrintMem ( const char *  tit  )  [static]

Prints current memory

Definition at line 196 of file StMemStat.cxx.

References Free(), ProgSize(), and Used().

Referenced by StBFChain::Load().

Double_t StMemStat::ProgSize (  )  [static]

Program size in MB

Definition at line 140 of file StMemStat.cxx.

Referenced by PrintMem().

void StMemStat::Summary (  )  [static]

Prints usage summary

Definition at line 81 of file StMemStat.cxx.

Referenced by StMaker::Finish().

Double_t StMemStat::Used (  )  [static]

Used heap memory in MB

Definition at line 125 of file StMemStat.cxx.

Referenced by PM(), and PrintMem().


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

Generated on Fri Feb 10 04:28:12 2012 for StRoot by  doxygen 1.5.9