78 #include <sys/times.h>    79 #include <sys/resource.h>    96     struct tms tmsstart, tmsend;
    97     struct rusage r1usage, r2usage;
    98     struct rusage *r1us, *r2us;
   105     double getCPU(
void) 
const;
   108     virtual void Print(std::ostream &s) 
const;   
   109     friend std::ostream &operator<<(std::ostream &, 
const Timer &);    
   111 std::ostream &operator<<(std::ostream &, 
const Timer &);
 void pause(void)
Sets the accounting variables to mark the end of accounting period using the unix functions times() a...
Definition: Timer.cpp:92
double getCPU(void) const
Uses the difference between the starting and ending accounting variables to determine the CPU time al...
Definition: Timer.cpp:113
int getNumPageFaults(void) const
Uses the difference between the starting and ending accounting variables to determine the number of p...
Definition: Timer.cpp:124
Timer(void)
Default constructor. 
Definition: Timer.cpp:76
double getReal(void) const
Uses the difference between the starting and ending accounting variables to determine the elapsed rea...
Definition: Timer.cpp:102
Measure of system resources. 
Definition: Timer.h:92
virtual void Print(std::ostream &s) const
Uses the difference between the starting and ending accounting variables to determine the real time...
Definition: Timer.cpp:137
Open source finite element program for structural analysis. 
Definition: ContinuaReprComponent.h:35
void start(void)
Sets the accounting variables to mark the start of accounting period using the unix functions times()...
Definition: Timer.cpp:84