MechSys  1.0
Computing library for simulations in continuum and discrete mechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Util::Stopwatch Class Reference

#include <stopwatch.h>

List of all members.

Public Member Functions

 Stopwatch (bool Activated=true, bool MemUsage=true)
 ~Stopwatch ()
 Will output time during destruction.
double CPUTime () const
 Returns the total CPU time consumed by the current process.

Constructor & Destructor Documentation

Util::Stopwatch::Stopwatch ( bool  Activated = true,
bool  MemUsage = true 
) [inline]

Will output time during destruction.


Member Function Documentation

double Util::Stopwatch::CPUTime ( ) const [inline]

Returns the total CPU time consumed by the current process.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines