Function record

Source
pub fn record(event: Event)
Expand description

Records an event on the global recorder. This convenience intentionally ignores errors; gating integrations should call try_record or use the retained BenchSession directly.

ยงExamples

ailloli_ui_bench::record(ailloli_ui_bench::Event::Marker {
    ts_ms: 1,
    name: "layout-complete".into(),
});