1#if !defined(RESIP_TIMER_HXX)
109 static void resetT1(
unsigned long t1);
114 static unsigned long T1;
115 static unsigned long T2;
116 static unsigned long T4;
119 static unsigned long TB;
120 static unsigned long TC;
121 static unsigned long TF;
122 static unsigned long TH;
124 static unsigned long TD;
125 static unsigned long TS;
148 const Data& transactionId);
157#ifndef RESIP_USE_STL_STREAMS
160 std::ostream&
encode(std::ostream& str)
const;
195#ifndef RESIP_USE_STL_STREAMS
198 std::ostream&
encode(std::ostream& str)
const;
230#ifndef RESIP_USE_STL_STREAMS
246----------------------------------------------------------------------
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
The base-class used for message-passing.
static unsigned getMaxSystemTimeWaitMs(void)
Some monotonic clock implementations may internally only return 32-bit values that will wrap.
static uint64_t getTimeMs()
Returns the current clock time in milliseconds.
static uint64_t getTimeSecs()
Returns the current clock time in seconds.
static uint64_t getForever()
Infinit time in future.
static uint64_t getRandomFutureTimeMs(uint64_t futureMs)
Returns an absolute time in ms that is between 50% and 90% of passed in ms from now.
static uint64_t getTimeMicroSec()
Returns the current clock time in microseconds.
RESIP_HeapCount(TimerWithPayload)
EncodeStream & encode(EncodeStream &str) const
bool operator>(const TimerWithPayload &rhs) const
bool operator<(const TimerWithPayload &rhs) const
Message * getMessage() const
This class is used to get the current system time.
static unsigned long T100
static Data toData(Type timer)
static unsigned long TcpConnectTimeout
static unsigned getMaxSystemTimeWaitMs(void)
On windows, change getSystemTime() to not use the actual clock time returned by ::GetSystemTime().
static uint64_t getRandomFutureTimeMs(uint64_t futureMs)
Returns an absolute time in ms that is between 50% and 90% of passed in ms from now.
static void resetT1(unsigned long t1)
static uint64_t getTimeMs()
Returns the current clock time in milliseconds.
static uint64_t getForever()
Infinit time in future.
static uint64_t getTimeMicroSec()
Returns the current clock time in microseconds.
static void setupTimeOffsets()
static uint64_t getTimeSecs()
Returns the current clock time in seconds.
unsigned long getDuration() const
RESIP_HeapCount(TransactionTimer)
Timer::Type getType() const
EncodeStream & encode(EncodeStream &str) const
bool operator>(const TransactionTimer &rhs) const
bool operator<(const TransactionTimer &rhs) const
const Data & getTransactionId() const
dcm! – add UnusedChecking(_enum) below;
unsigned long long uint64_t
EncodeStream & operator<<(EncodeStream &strm, const BaseException &e)