[PERF] Runtime Introspection Syscalls
This commit is contained in:
@@ -387,6 +387,8 @@ mod tests {
|
||||
glyph_slots_total: 16,
|
||||
sound_slots_used: 0,
|
||||
sound_slots_total: 8,
|
||||
scene_slots_used: 2,
|
||||
scene_slots_total: 16,
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
@@ -403,6 +405,8 @@ mod tests {
|
||||
glyph_slots_total,
|
||||
sound_slots_used,
|
||||
sound_slots_total,
|
||||
scene_slots_used,
|
||||
scene_slots_total,
|
||||
} => {
|
||||
assert_eq!(frame_index, 8);
|
||||
assert_eq!(vm_steps, 123);
|
||||
@@ -415,6 +419,8 @@ mod tests {
|
||||
assert_eq!(glyph_slots_total, 16);
|
||||
assert_eq!(sound_slots_used, 0);
|
||||
assert_eq!(sound_slots_total, 8);
|
||||
assert_eq!(scene_slots_used, 2);
|
||||
assert_eq!(scene_slots_total, 16);
|
||||
}
|
||||
other => panic!("unexpected telemetry event: {:?}", other),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user