euv-core 0.47.0

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
use super::*;

/// Zero-allocation monotonic nanosecond cold-start telemetry from process boot (`t0`) through first present (`t7`).
#[derive(Clone, Copy, Data, Debug, Default, Deserialize, Eq, Hash, PartialEq, Serialize)]
pub struct StartupTelemetry {
    /// Monotonic timestamp in nanoseconds at process / runtime entry (`t0`).
    #[get(type(copy))]
    pub(crate) t0_process_boot_ns: u64,
    /// Monotonic timestamp in nanoseconds when `App`, active `Renderer`, and surface handle are ready (`t1`).
    #[get(type(copy))]
    pub(crate) t1_runtime_ready_ns: u64,
    /// Monotonic timestamp in nanoseconds when the default UI font handle is bound (`t2`).
    #[get(type(copy))]
    pub(crate) t2_font_ready_ns: u64,
    /// Monotonic timestamp in nanoseconds when the initial route `SceneTree` finishes mounting (`t3`).
    #[get(type(copy))]
    pub(crate) t3_mount_done_ns: u64,
    /// Monotonic timestamp in nanoseconds when the first `LayoutEngine::compute` pass completes (`t4`).
    #[get(type(copy))]
    pub(crate) t4_layout_done_ns: u64,
    /// Monotonic timestamp in nanoseconds when the first `DisplayList` and visible glyphs complete (`t5`).
    #[get(type(copy))]
    pub(crate) t5_paint_done_ns: u64,
    /// Monotonic timestamp in nanoseconds when the first frame draw command buffer is submitted (`t6`).
    #[get(type(copy))]
    pub(crate) t6_gpu_submit_ns: u64,
    /// Monotonic timestamp in nanoseconds at verified first-frame presentation (`t7`).
    #[get(type(copy))]
    pub(crate) t7_first_present_ns: u64,
}