Scaffolding
0.1
This program can assemble genome scaffolds using the pairing information in paired-end reads.
|
a simple timer class that can be paused and resumed More...
#include <profiling.hpp>
Public Member Functions | |
timer () | |
constructor | |
void | start () |
start the timer | |
void | stop () |
stop the timer | |
void | pause () |
pause the timer (= stop()) | |
void | resume () |
resume the timer by setting an artificial start_time | |
double | cycles_passed () const |
return the number of cycles passed between last start and last stop More... | |
double | seconds_passed () const |
return the number of seconds passed between last start and last stop (see cycles_passed()) | |
Public Attributes | |
double | start_time |
last time the timer was started | |
double | stop_time |
last time the timer was stopped | |
a simple timer class that can be paused and resumed
|
inline |
return the number of cycles passed between last start and last stop
the timer has to have been started and stopped for this to make sense