8 #include "TStopwatch.h" 
std::string Result(std::string method_name, std::string output_file="")
 
void Start()
Start the stopwatch. 
 
StopwatchTimes Stop()
Stop the stopwatch, returning the CPU time. 
 
std::vector< StopwatchTimes > m_results
Stores time at every Stop. 
 
Stopwatch(const char *tool_name)
 
void Reset()
Stop the stopwatch, and clear the results vector. 
 
TStopwatch m_sw
The external stopwatch timer. 
 
bool m_running
Stores the state - running or not. 
 
std::string m_tool_name
The name of the tool using the Stopwatch. For use in printout.