#include <lemon/time_measure.h>
Inherits Timer.
Inheritance diagram for TimeReport:
void myAlg(ListGraph &g,int n) { TimeReport TR("Running time of myAlg: "); ... //Here comes the algorithm }
Public Member Functions | |
TimeReport (std::string title, std::ostream &os=std::cerr, bool run=true) | |
| |
~TimeReport () | |
Prints the ellapsed time on destruction. |
|
|