|
reSIProcate/stack
9694
|
#include <TimeAccumulate.hxx>
Public Member Functions | |
| Guard (UInt64 &accumulator) | |
| ~Guard () | |
Private Attributes | |
| UInt64 & | mAccumulator |
Definition at line 76 of file TimeAccumulate.hxx.
| resip::TimeAccumulate::Guard::Guard | ( | UInt64 & | accumulator | ) | [inline, explicit] |
Definition at line 79 of file TimeAccumulate.hxx.
References resip::Timer::getTimeMs(), and mAccumulator.
: mAccumulator(accumulator) { mAccumulator -= Timer::getTimeMs(); }

| resip::TimeAccumulate::Guard::~Guard | ( | ) | [inline] |
Definition at line 84 of file TimeAccumulate.hxx.
References resip::Timer::getTimeMs(), and mAccumulator.
{
mAccumulator += Timer::getTimeMs();
}

UInt64& resip::TimeAccumulate::Guard::mAccumulator [private] |
Definition at line 90 of file TimeAccumulate.hxx.
1.7.5.1