libzypp  15.28.6
zypp::debug::Measure::Impl Class Reference

Measure implementation. More...

Public Member Functions

 Impl (const std::string &ident_r)
 
 ~Impl ()
 
void restart ()
 
void elapsed (const std::string &tag_r=std::string()) const
 

Private Member Functions

std::ostream & log () const
 Return the log stream. More...
 
std::ostream & dumpMeasure (std::ostream &str_r, const std::string &tag_r=std::string()) const
 

Private Attributes

std::string _ident
 
std::string _level
 
Tm _start
 
unsigned _seq
 
Tm _elapsed
 
Tm _stop
 

Static Private Attributes

static std::string _glevel
 

Detailed Description

Measure implementation.

Definition at line 138 of file Measure.cc.

Constructor & Destructor Documentation

zypp::debug::Measure::Impl::Impl ( const std::string &  ident_r)
inline

Definition at line 141 of file Measure.cc.

zypp::debug::Measure::Impl::~Impl ( )
inline

Definition at line 151 of file Measure.cc.

Member Function Documentation

void zypp::debug::Measure::Impl::restart ( )
inline

Definition at line 160 of file Measure.cc.

void zypp::debug::Measure::Impl::elapsed ( const std::string &  tag_r = std::string()) const
inline

Definition at line 166 of file Measure.cc.

std::ostream& zypp::debug::Measure::Impl::log ( ) const
inlineprivate

Return the log stream.

Definition at line 177 of file Measure.cc.

std::ostream& zypp::debug::Measure::Impl::dumpMeasure ( std::ostream &  str_r,
const std::string &  tag_r = std::string() 
) const
inlineprivate

Definition at line 180 of file Measure.cc.

Member Data Documentation

std::string zypp::debug::Measure::Impl::_glevel
staticprivate

Definition at line 193 of file Measure.cc.

std::string zypp::debug::Measure::Impl::_ident
private

Definition at line 195 of file Measure.cc.

std::string zypp::debug::Measure::Impl::_level
private

Definition at line 196 of file Measure.cc.

Tm zypp::debug::Measure::Impl::_start
private

Definition at line 197 of file Measure.cc.

unsigned zypp::debug::Measure::Impl::_seq
mutableprivate

Definition at line 198 of file Measure.cc.

Tm zypp::debug::Measure::Impl::_elapsed
mutableprivate

Definition at line 199 of file Measure.cc.

Tm zypp::debug::Measure::Impl::_stop
mutableprivate

Definition at line 200 of file Measure.cc.


The documentation for this class was generated from the following file: