eckit::ResourceUsage class

Derived classes

template<class T>
class TraceResourceUsage

Constructors, destructors, conversion operators

ResourceUsage() explicit
ResourceUsage(const std::string& name, std::ostream& o = Log::info()) explicit
ResourceUsage(const char* name, std::ostream& o = Log::info()) explicit
~ResourceUsage()

Function documentation

eckit::ResourceUsage::ResourceUsage(const std::string& name, std::ostream& o = Log::info()) explicit

Parameters
name of the timer, used for output
o output stream to use for output

eckit::ResourceUsage::ResourceUsage(const char* name, std::ostream& o = Log::info()) explicit

Parameters
name of the timer, used for output
o output stream to use for output