StRoot
1
|
#include <StMemStat.h>
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 (std::string prefix="") |
static std::string | AsString (std::string prefix="") |
Returns a string with memory utilization estimates for the current process. | |
static void | PM () |
static void | Summary () |
static void | doPs (std::string who, std::string where) |
static void | SaveProcStatus (std::string callerId) |
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 25 of file StMemStat.h.
|
static |
Free heap memory in MB
Definition at line 149 of file StMemStat.cxx.
|
static |
Prints fast current heap
Definition at line 231 of file StMemStat.cxx.
|
static |
Prints current memory
Definition at line 212 of file StMemStat.cxx.
|
static |
Program size in MB
Definition at line 157 of file StMemStat.cxx.
|
static |
Saves the values read from /proc/self/status at the time of a call in a text file. See StMemStat::ReadProcStatus() for parsed values
Definition at line 281 of file StMemStat.cxx.
|
static |
|
static |
Used heap memory in MB
Definition at line 142 of file StMemStat.cxx.