12 #ifndef ZYPP_BASE_MEASURE_H
13 #define ZYPP_BASE_MEASURE_H
76 Measure(
const std::string & ident_r );
84 void start(
const std::string & ident_r = std::string() );
98 void elapsed(
const std::string & tag_r )
const;
104 void elapsed(
long tag_r )
const;
123 #endif // ZYPP_BASE_MEASURE_H
void elapsed() const
Print elapsed time for a running timer.
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.
Tool to measure elapsed real and process times.