#include <TimeStats.h>
Collaboration diagram for Impala::Util::TimeStats:
Public Member Functions | |
TimeStats (bool relative=false) | |
void | AddGroup (const std::string &name) |
void | MeasureFirst () |
void | MeasureNext () |
void | Print (std::ostream &os) |
Group * | GetCurrentGroup () |
const Group * | SelectGroup (const std::string &name) |
const Group * | SelectGroup (int number) |
void | StartTime () |
void | StopTime () |
void | Reset () |
void | ComputePercentages () |
Protected Attributes | |
Timer | mClock |
std::vector< Group * > | mGroups |
int | mCurrentGroup |
bool | mIsTiming |
bool | mRelative |
Friends | |
std::ostream & | operator<< (std::ostream &os, TimeStats &stats) |
Classes | |
class | Group |
Definition at line 22 of file TimeStats.h.