reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::TimeAccumulate Class Reference

Accumulates time and count by distinct string. More...

#include <TimeAccumulate.hxx>

Classes

class  Guard
 

Public Member Functions

 TimeAccumulate (const Data &name)
 
 ~TimeAccumulate ()
 

Static Public Member Functions

static uint64_t getTime (const Data &name)
 
static size_t getCount (const Data &name)
 
static void dump ()
 
static void clear ()
 

Detailed Description

Accumulates time and count by distinct string.

The data is available statically. Use class::method as the key when possible to avoid collision.

Definition at line 19 of file TimeAccumulate.hxx.

Constructor & Destructor Documentation

◆ TimeAccumulate()

resip::TimeAccumulate::TimeAccumulate ( const Data &  name)
inline

Definition at line 30 of file TimeAccumulate.hxx.

◆ ~TimeAccumulate()

resip::TimeAccumulate::~TimeAccumulate ( )
inline

Definition at line 35 of file TimeAccumulate.hxx.

Member Function Documentation

◆ clear()

void TimeAccumulate::clear ( )
static

Definition at line 31 of file TimeAccumulate.cxx.

◆ dump()

void TimeAccumulate::dump ( )
static

Definition at line 13 of file TimeAccumulate.cxx.

◆ getCount()

static size_t resip::TimeAccumulate::getCount ( const Data &  name)
inlinestatic

Definition at line 67 of file TimeAccumulate.hxx.

◆ getTime()

static uint64_t resip::TimeAccumulate::getTime ( const Data &  name)
inlinestatic

Definition at line 61 of file TimeAccumulate.hxx.


The documentation for this class was generated from the following files: