#include <time_measure.h>
Collaboration diagram for Timer:
include<lemon/time_measure.h> include<iostream> int main() { ... Timer T; doSomething(); std::cout << T << '\n'; T.reset(); doSomethingElse(); std::cout << T << '\n'; ... }
Definition at line 168 of file time_measure.h.
Public Member Functions | |
Timer () | |
Constructor. It starts with zero time counters. | |
operator TimeStamp () | |
Computes the ellapsed time. | |
TimeStamp | reset () |
Resets the time counters. |
|
This conversion computes the ellapsed time since the construction of References TimeStamp::stamp(). Here is the call graph for this function: ![]() |