Function
sysTime
Returns the system time in seconds.
Include Headers
seqan/basic.h
Remarks
Return Values
A double , system time stamp in seconds.
Types: double
Examples
We can use sysTime to instrument our code for profiling/timing information quite robustly.
The following demonstrates how the Function.sysTime is used in many SeqAn apps for collecting timing information.
// ...
double startTime = sysTime();
// Do some complex calculation.
if (printTiming)
std::cerr << "Some complex calculation too " << sysTime() - startTime << " s." << std::endl;
See Also
SeqAn - Sequence Analysis Library - www.seqan.de