AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "UpdateTime.h"
Public Member Functions | |
WorldUpdateTime () | |
void | LoadFromConfig () |
void | SetRecordUpdateTimeInterval (Milliseconds t) |
void | RecordUpdateTime (Milliseconds gameTimeMs, uint32 diff, uint32 sessionCount) |
void | RecordUpdateTimeDuration (std::string const &text) |
Public Member Functions inherited from UpdateTime | |
uint32 | GetAverageUpdateTime () const |
uint32 | GetTimeWeightedAverageUpdateTime () const |
uint32 | GetMaxUpdateTime () const |
uint32 | GetMaxUpdateTimeOfCurrentTable () const |
uint32 | GetLastUpdateTime () const |
uint32 | GetDatasetSize () const |
uint32 | GetPercentile (uint8 p) |
void | UpdateWithDiff (uint32 diff) |
void | RecordUpdateTimeReset () |
Private Attributes | |
Milliseconds | _recordUpdateTimeInverval |
Milliseconds | _recordUpdateTimeMin |
Milliseconds | _lastRecordTime |
Additional Inherited Members | |
Protected Member Functions inherited from UpdateTime | |
UpdateTime () | |
void | SortUpdateTimeDataTable () |
|
inline |
void WorldUpdateTime::LoadFromConfig | ( | ) |
References _recordUpdateTimeInverval, _recordUpdateTimeMin, and sConfigMgr.
Referenced by World::LoadConfigSettings().
void WorldUpdateTime::RecordUpdateTime | ( | Milliseconds | gameTimeMs, |
uint32 | diff, | ||
uint32 | sessionCount | ||
) |
References _lastRecordTime, _recordUpdateTimeInverval, _recordUpdateTimeMin, UpdateTime::GetAverageUpdateTime(), UpdateTime::GetDatasetSize(), UpdateTime::GetLastUpdateTime(), GetMSTimeDiff(), UpdateTime::GetPercentile(), and LOG_INFO.
Referenced by World::Update().
void WorldUpdateTime::RecordUpdateTimeDuration | ( | std::string const & | text | ) |
void WorldUpdateTime::SetRecordUpdateTimeInterval | ( | Milliseconds | t | ) |
References _recordUpdateTimeInverval.
|
private |
Referenced by RecordUpdateTime().
|
private |
Referenced by LoadFromConfig(), RecordUpdateTime(), and SetRecordUpdateTimeInterval().
|
private |
Referenced by LoadFromConfig(), and RecordUpdateTime().