#include <eckit/log/TraceTimer.h>
template<class T>
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
#include <eckit/log/Timer.h>
template<class T>
void eckit:: TraceTimer<T>:: start()
#include <eckit/log/Timer.h>
template<class T>
void eckit:: TraceTimer<T>:: stop()
#include <eckit/log/Timer.h>
template<class T>
double eckit:: TraceTimer<T>:: elapsed()
#include <eckit/log/Timer.h>
template<class T>
double eckit:: TraceTimer<T>:: elapsed_cpu()
#include <eckit/log/Timer.h>
template<class T>
const std:: string& eckit:: TraceTimer<T>:: name() const
#include <eckit/log/Timer.h>
template<class T>
bool eckit:: TraceTimer<T>:: running() const
#include <eckit/log/Timer.h>
template<class T>
void eckit:: TraceTimer<T>:: report(const std:: string& message = "")
#include <eckit/log/Timer.h>
template<class T>
void eckit:: TraceTimer<T>:: reset(const std:: string& message = "")