12 #ifndef ZYPP_BASE_MEASURE_H 13 #define ZYPP_BASE_MEASURE_H 18 #include <zypp/base/PtrTypes.h> 76 Measure(
const std::string & ident_r );
78 Measure(
const std::string & ident_r, std::ostream & out_r );
86 void start(
const std::string & ident_r = std::string() );
100 void elapsed(
const std::string & tag_r )
const;
106 void elapsed(
long tag_r )
const;
125 #endif // ZYPP_BASE_MEASURE_H void stop()
Stop a running timer.
RW_pointer< Impl > _pimpl
Pointer to implementation.
void restart()
re start the timer without reset-ing it.
void start(const std::string &ident_r=std::string())
Start timer for ident_r string.
Measure()
Default Ctor does nothing.
void elapsed() const
Print elapsed time for a running timer.
Tool to measure elapsed real and process times.
Easy-to use interface to the ZYPP dependency resolver.