12#include "MantidKernel/DllConfig.h"
20using time_point_ns = std::chrono::time_point<std::chrono::high_resolution_clock>;
32 float elapsed(
bool reset =
true);
33 float elapsed_no_reset()
const;
34 std::string str()
const;
41MANTID_KERNEL_DLL std::ostream &
operator<<(std::ostream &,
const Timer &);
A simple class that provides a wall-clock (not processor time) timer.
time_point_ns m_start
The starting time.
std::chrono::time_point< std::chrono::high_resolution_clock > time_point_ns
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.