mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-19 11:12:49 +00:00
feat(net): frame timing section in SERVER_TRAFFIC, profiling messages
An optional section after marker 3 carries the report's frame timing; older readers stop before it and reports without it still read. Phase times go with their count so readers with fewer or more phases read them. PROFILE_REQUEST and PROFILE_RESULT are appended to the master messages (44, 45). Task 96. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -84,5 +84,10 @@ namespace MessageType {
|
||||
CHAT_HANDOFF,
|
||||
// Master -> worlds during a live update: a new chat server is up; connect and send it who is online
|
||||
CHAT_SERVER_READY,
|
||||
|
||||
// Dashboard -> master -> one server: start or stop a profiling session of its main loop (see Profiling.h)
|
||||
PROFILE_REQUEST,
|
||||
// Any server -> master -> dashboard: a profiling session started, failed or finished with its scope tree
|
||||
PROFILE_RESULT,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user