Public Member Functions | |
void | mark (std::string _name="") |
void | mark (std::string _name="") |
records this time, optionally with a user specified name. difference is calculated from last mark call | |
void | print () |
void | print () |
print out all the time differences | |
TimeEvaluator (std::string _name="Time Evaluator") | |
TimeEvaluator (std::string _name="Time Evaluator") | |
Constructor. Initializes timer, so this is the first time record. | |
Private Attributes | |
std::vector< std::string > | eventnames |
std::string | name |
std::vector< double > | times |
timeval | tmark |
Definition at line 68 of file detect_hands.cpp.
TimeEvaluator::TimeEvaluator | ( | std::string | _name = "Time Evaluator" | ) | [inline] |
Definition at line 76 of file detect_hands.cpp.
TimeEvaluator::TimeEvaluator | ( | std::string | _name = "Time Evaluator" | ) | [inline] |
Constructor. Initializes timer, so this is the first time record.
Definition at line 158 of file detect_hands_wskel.cpp.
void TimeEvaluator::mark | ( | std::string | _name = "" | ) | [inline] |
Definition at line 84 of file detect_hands.cpp.
void TimeEvaluator::mark | ( | std::string | _name = "" | ) | [inline] |
records this time, optionally with a user specified name. difference is calculated from last mark call
Definition at line 171 of file detect_hands_wskel.cpp.
void TimeEvaluator::print | ( | ) | [inline] |
Definition at line 100 of file detect_hands.cpp.
void TimeEvaluator::print | ( | ) | [inline] |
print out all the time differences
Definition at line 188 of file detect_hands_wskel.cpp.
std::vector< std::string > TimeEvaluator::eventnames [private] |
Definition at line 71 of file detect_hands.cpp.
std::string TimeEvaluator::name [private] |
Definition at line 72 of file detect_hands.cpp.
std::vector< double > TimeEvaluator::times [private] |
Definition at line 70 of file detect_hands.cpp.
timeval TimeEvaluator::tmark [private] |
Definition at line 69 of file detect_hands.cpp.