List of all members.
Public Member Functions |
| Timer (const std::string &task, std::ostream &os=*waliErr) |
| ~Timer () |
double | elapsed () const |
virtual std::ostream & | print (std::ostream &out) const |
Static Public Member Functions |
static std::ostream & | printTime (std::ostream &out, clock_t clk) |
Static Public Attributes |
static bool | measureAndReport = true |
static const long | TIMER_CLK_TICK = sysconf(_SC_CLK_TCK) |
Constructor & Destructor Documentation
wali::util::Timer::Timer |
( |
const std::string & |
task, |
|
|
std::ostream & |
os = *waliErr | |
|
) |
| | |
wali::util::Timer::~Timer |
( |
|
) |
|
Member Function Documentation
double wali::util::Timer::elapsed |
( |
|
) |
const |
std::ostream & wali::util::Timer::print |
( |
std::ostream & |
out |
) |
const [virtual] |
std::ostream & wali::util::Timer::printTime |
( |
std::ostream & |
out, |
|
|
clock_t |
clk | |
|
) |
| | [static] |
Member Data Documentation
The documentation for this class was generated from the following files: