X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=zypp%2Fbase%2FMeasure.h;h=29293d1c6d9ee5d6f1555ecd9fb35496912be926;hb=42b5d038414cf4a4a050e816b471f890b24e8032;hp=8c2806ba9f7805c7736df0e69f94f9c7909e4a7b;hpb=b61a0ff7e76a542a874714e4ee7753db48f9f8aa;p=platform%2Fupstream%2Flibzypp.git diff --git a/zypp/base/Measure.h b/zypp/base/Measure.h index 8c2806b..29293d1 100644 --- a/zypp/base/Measure.h +++ b/zypp/base/Measure.h @@ -90,6 +90,18 @@ namespace zypp * Timer keeps on running. */ void elapsed() const; + /** \overload Tagging the time with some text + * \code + * elapsed( "after action foo..." ); + * \endcode + */ + void elapsed( const std::string & tag_r ) const; + /** \overload Tagging the time with e.g. a line number + * \code + * elapsed( __LINE__ ); + * \endcode + */ + void elapsed( long tag_r ) const; /** Stop a running timer. */ void stop();