mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
chore(Scripts/Commands): QOL server debug (#19297)
* chore(Scripts/Commands): QOL server debug * England * might as well do updatetime while we are at it. Consistency right? * Hey let's sneak this ENGLAND in
This commit is contained in:
@@ -165,10 +165,11 @@ void WorldUpdateTime::RecordUpdateTime(Milliseconds gameTimeMs, uint32 diff, uin
|
||||
{
|
||||
if (GetMSTimeDiff(_lastRecordTime, gameTimeMs) > _recordUpdateTimeInverval)
|
||||
{
|
||||
LOG_INFO("time.update", "Last {} diffs summary with {} players online:", GetDatasetSize(), sessionCount);
|
||||
LOG_INFO("time.update", " - Mean: {};", GetAverageUpdateTime());
|
||||
LOG_INFO("time.update", " - Median: {};", GetPercentile(50));
|
||||
LOG_INFO("time.update", " - Percentiles (95, 99, max): {}, {}, {}.", GetPercentile(95), GetPercentile(99), GetPercentile(100));
|
||||
LOG_INFO("time.update", "Update time diff: {} with {} players online", GetLastUpdateTime(), sessionCount);
|
||||
LOG_INFO("time.update", "Last {} diffs summary:", GetDatasetSize());
|
||||
LOG_INFO("time.update", "|- Mean: {}", GetAverageUpdateTime());
|
||||
LOG_INFO("time.update", "|- Median: {}", GetPercentile(50));
|
||||
LOG_INFO("time.update", "|- Percentiles (95, 99, max): {}, {}, {}", GetPercentile(95), GetPercentile(99), GetPercentile(100));
|
||||
_lastRecordTime = gameTimeMs;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user