class Timer


Public Methods

Timer()
virtual ~Timer()
void start(void)
void pause(void)
double getReal(void) const
double getCPU(void) const
int getNumPageFaults(void) const
virtual void Print(ostream &s) const
friend ostream& operator<<(ostream &s, const Timer &E)

Documentation

A Timer object is an object which can be used to measure system resources, i.e. cpu time and memory usage. Currently for Unix systems only. COMPILE FLAG NEEDED.

Timer()

Does nothing

virtual ~Timer()

Does nothing

void start(void)

Sets the accounting variables to mark the start of accounting period using the unix functions times() and getrusage

void pause(void)

Sets the accounting variables to mark the end of accounting period using the unix functions times() and getrusage

double getReal(void) const

double getCPU(void) const;

double getCPU(void) const

int getNumPageFaults(void) const

virtual void Print(ostream &s) const

friend ostream& operator<<(ostream &s, const Timer &E)


This class has no child classes.

alphabetic index Contents

this page has been generated automatically by a slightly modified version of doc++ for OpenSees

Copyright Contact Us