12 #ifndef ZYPP_BASE_MEASURE_H 13 #define ZYPP_BASE_MEASURE_H 78 Measure(std::string ident_r, std::ostream & out_r );
86 void start(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 start(std::string ident_r=std::string())
Start timer for ident_r string.
void stop()
Stop a running timer.
RW_pointer< Impl > _pimpl
Pointer to implementation.
void restart()
re start the timer without reset-ing it.
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.