![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <ReliabilityLayer.h>
Classes | |
| struct | TimeAndValue2 |
Public Member Functions | |
| BPSTracker () | |
| void | ClearExpired1 (CCTimeType time) |
| uint64_t | GetBPS1 (CCTimeType time) |
| uint64_t | GetBPS1Threadsafe (CCTimeType time) |
| uint64_t | GetTotal1 (void) const |
| void | Push1 (CCTimeType time, uint64_t value1) |
| void | Reset (const char *file, unsigned int line) |
| ~BPSTracker () | |
Public Attributes | |
| DataStructures::Queue < TimeAndValue2 > | dataQueue |
| uint64_t | lastSec1 |
| uint64_t | total1 |
Definition at line 86 of file ReliabilityLayer.h.
| RakNet::BPSTracker::BPSTracker | ( | ) |
| RakNet::BPSTracker::~BPSTracker | ( | ) |
| void RakNet::BPSTracker::ClearExpired1 | ( | CCTimeType | time | ) |
| uint64_t RakNet::BPSTracker::GetBPS1 | ( | CCTimeType | time | ) | [inline] |
Definition at line 93 of file ReliabilityLayer.h.
References lastSec1.
{(void) time; return lastSec1;}
| uint64_t RakNet::BPSTracker::GetBPS1Threadsafe | ( | CCTimeType | time | ) | [inline] |
Definition at line 94 of file ReliabilityLayer.h.
References lastSec1.
{(void) time; return lastSec1;}
| uint64_t RakNet::BPSTracker::GetTotal1 | ( | void | ) | const |
| void RakNet::BPSTracker::Push1 | ( | CCTimeType | time, |
| uint64_t | value1 | ||
| ) | [inline] |
Definition at line 91 of file ReliabilityLayer.h.
References _FILE_AND_LINE_, dataQueue, lastSec1, DataStructures::Queue< queue_type >::Push(), and total1.
{dataQueue.Push(TimeAndValue2(time,value1),_FILE_AND_LINE_); total1+=value1; lastSec1+=value1;}
| void RakNet::BPSTracker::Reset | ( | const char * | file, |
| unsigned int | line | ||
| ) |
Definition at line 113 of file ReliabilityLayer.h.
Referenced by Push1().
Definition at line 111 of file ReliabilityLayer.h.
Referenced by GetBPS1(), GetBPS1Threadsafe(), and Push1().
Definition at line 111 of file ReliabilityLayer.h.
Referenced by Push1().
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.