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 _1>
void eckit::TraceTimer<_1>::start()

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

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

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

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

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

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

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