9#include "MantidKernel/DllConfig.h"
27 float elapsedCPU(
bool doReset =
true);
28 float elapsedWallClock(
bool doReset =
true);
30 float CPUfraction(
bool doReset =
true);
CPUTimer : Timer that uses the CPU time, rather than wall-clock time to measure execution time.
Timer m_wallClockTime
The regular (wall-clock time).
clock_t m_start
The starting time (implementation dependent format)
A simple class that provides a wall-clock (not processor time) timer.
MANTID_KERNEL_DLL std::ostream & operator<<(std::ostream &, CPUTimer &)
Convenience function to provide for easier debug printing.
Helper class which provides the Collimation Length for SANS instruments.