template<class T>
eckit::TraceTimer class

Base classes

class Timer

Constructors, destructors, conversion operators

TraceTimer(const char* name) explicit
TraceTimer(const std::string& name) explicit

Public functions

void start()
void stop()
auto elapsed() -> double
auto elapsed_cpu() -> double
auto name() const -> const std::string&
auto running() const -> bool
void report(const std::string& message = "")
void reset(const std::string& message = "")

Function documentation

template<class T>
void eckit::TraceTimer<T>::start()

template<class T>
void eckit::TraceTimer<T>::stop()

template<class T>
double eckit::TraceTimer<T>::elapsed()

template<class T>
double eckit::TraceTimer<T>::elapsed_cpu()

template<class T>
const std::string& eckit::TraceTimer<T>::name() const

template<class T>
bool eckit::TraceTimer<T>::running() const

template<class T>
void eckit::TraceTimer<T>::report(const std::string& message = "")

template<class T>
void eckit::TraceTimer<T>::reset(const std::string& message = "")