[PERF] Runtime Introspection Syscalls

This commit is contained in:
2026-04-19 08:49:04 +01:00
parent 33dd6d008b
commit c87a1b7f62
7 changed files with 52 additions and 8 deletions
@@ -68,6 +68,8 @@ pub enum DebugEvent {
glyph_slots_total: u32,
sound_slots_used: u32,
sound_slots_total: u32,
scene_slots_used: u32,
scene_slots_total: u32,
},
#[serde(rename = "fault")]
Fault {
@@ -99,6 +101,8 @@ mod tests {
glyph_slots_total: 16,
sound_slots_used: 2,
sound_slots_total: 16,
scene_slots_used: 3,
scene_slots_total: 16,
};
let json = serde_json::to_string(&event).unwrap();