Open Babel
3.0
|
#include <openbabel/obutil.h>
Public Member Functions | |
void | Start () |
double | Lap () |
double | Elapsed () |
Stopwatch class used for timing length of execution.
The OBStopwatch class makes timing the execution of blocks of code to microsecond accuracy very simple. The class effectively has two functions, Start() and Elapsed(). The usage of the OBStopwatch class is demonstrated by the following code:
|
inline |
Mark the start of "stopwatch" timing.
|
inline |
|
inline |