QcMsg::AdminSample Struct
struct QcMsg::AdminSampleOne point of the status: at timeMs (milliseconds since the epoch, UTC) the ticks of the second before it, the players, chunks and entities, the resident memory and the network rates. More...
| Header: | #include <common/protocol/QcAdminMessages.h> |
Public Variables
| quint32 | entities |
| quint32 | loadedChunks |
| float | memoryMb |
| quint32 | players |
| float | receivedKbPerSecond |
| float | sentKbPerSecond |
| float | tickMaxMs |
| float | tickMeanMs |
| float | tickP99Ms |
| float | ticksPerSecond |
| qint64 | timeMs |
Detailed Description
Member Variable Documentation
quint32 AdminSample::entities
Entities in the world.
quint32 AdminSample::loadedChunks
Chunks loaded in the world.
float AdminSample::memoryMb
Resident memory of the server process in MiB (QcProcessMemory::currentMb).
quint32 AdminSample::players
Players who have joined.
float AdminSample::receivedKbPerSecond
KiB per second the server received from network clients.
float AdminSample::sentKbPerSecond
KiB per second the server sent to network clients.
float AdminSample::tickMaxMs
Longest tick in the second, in milliseconds.
float AdminSample::tickMeanMs
Mean duration of a tick in the second, in milliseconds.
float AdminSample::tickP99Ms
99th percentile of the tick durations in the second, in milliseconds.
float AdminSample::ticksPerSecond
Ticks run in the second, per second of real time.
qint64 AdminSample::timeMs
When the sample was taken, in milliseconds since the epoch (UTC).