|
DGtal
0.6.devel
|
#include <Clock.h>
Public Member Functions | |
| void | startClock () |
| double | stopClock () |
| Clock () | |
| ~Clock () | |
| void | selfDisplay (std::ostream &out) const |
| bool | isValid () const |
Description of class 'Clock'
Aim: To provide functions to start and stop a timer. Is useful to get performance of algorithms.
The following code snippet demonstrates how to use Clock
|
inline |
|
inline |
|
inline |
Starts a clock.
Definition at line 63 of file Clock.ih.
Referenced by DGtal::Trace::beginBlock().
|
inline |
Stops the clock.
Definition at line 91 of file Clock.ih.
Referenced by DGtal::Trace::endBlock().
1.8.1.1