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;
Tool to measure elapsed real and process times.
Measure()
Default Ctor does nothing.
void elapsed() const
Print elapsed time for a running timer.
void stop()
Stop a running timer.
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.
RW_pointer< Impl > _pimpl
Pointer to implementation.
Easy-to use interface to the ZYPP dependency resolver.
Wrapper for const correct access via Smart pointer types.