#include <timer.h>
Classes | |
struct | SelfIncl |
Public Member Functions | |
TaskTimer (const char *name) | |
TaskTimer * | setTask (const char *task) |
double | stop () |
Static Public Member Functions | |
static void | pushTask (const char *task) |
static void | popTask () |
static void | printStats () |
Protected Types | |
typedef std::list< TaskTimer > | TaskList |
typedef std::map< const char *, SelfIncl > | CharDoubleMap |
Protected Member Functions | |
void | printStats (int indent, double total, CharDoubleMap &flatProfile) |
Protected Attributes | |
const char * | name |
TaskList | subtasks |
TaskList::iterator | currentTask |
Definition at line 70 of file timer.h.
typedef std::map<const char *, SelfIncl> TaskTimer::CharDoubleMap [protected] |
typedef std::list<TaskTimer> TaskTimer::TaskList [protected] |
void TaskTimer::popTask | ( | ) | [static] |
Definition at line 287 of file timer.cpp.
Referenced by kpt_tracker::detect_keypoints(), vobj_tracker_view::paintGL(), VSView::paintGL(), pyr_track::point_added(), pyr_keypoint::prepare_patch(), kpt_tracker::process_frame(), vobj_tracker_view::timerEvent(), VSView::timerEvent(), kpt_tracker::track_ncclk(), vobj_tracker::track_objects(), kpt_tracker::traverse_tree(), and vobj_tracker::verify().
void TaskTimer::printStats | ( | int | indent, | |
double | total, | |||
CharDoubleMap & | flatProfile | |||
) | [protected] |
void TaskTimer::printStats | ( | ) | [static] |
void TaskTimer::pushTask | ( | const char * | task | ) | [static] |
Definition at line 286 of file timer.cpp.
Referenced by kpt_tracker::detect_keypoints(), vobj_tracker_view::paintGL(), VSView::paintGL(), pyr_track::point_added(), pyr_keypoint::prepare_patch(), kpt_tracker::process_frame(), vobj_tracker_view::timerEvent(), VSView::timerEvent(), kpt_tracker::track_ncclk(), vobj_tracker::track_objects(), kpt_tracker::traverse_tree(), and vobj_tracker::verify().
TaskList::iterator TaskTimer::currentTask [protected] |
const char* TaskTimer::name [protected] |
TaskList TaskTimer::subtasks [protected] |