[PERF] Runtime Telemetry Hot Path

This commit is contained in:
2026-04-10 08:59:02 +01:00
parent 5e80ea46b8
commit 63892dcfb9
16 changed files with 537 additions and 141 deletions
@@ -37,13 +37,14 @@ pub struct VirtualMachineRuntime {
pub certifier: Certifier,
pub paused: bool,
pub debug_step_request: bool,
pub inspection_active: bool,
pub(crate) needs_prepare_entry_call: bool,
pub(crate) boot_time: Instant,
}
impl VirtualMachineRuntime {
pub const CYCLES_PER_LOGICAL_FRAME: u64 = 5_000_000;
pub const SLICE_PER_TICK: u64 = 5_000_000;
pub const CYCLES_PER_LOGICAL_FRAME: u64 = 1_500_000;
pub const SLICE_PER_TICK: u64 = 1_500_000;
pub const MAX_LOG_LEN: usize = 256;
pub const MAX_LOGS_PER_FRAME: u32 = 10;
}