MCPcopy Create free account
hub / github.com/GCWing/BitFun / record_step

Method record_step

src/apps/desktop/src/startup_trace.rs:57–72  ·  view source on GitHub ↗
(
        &self,
        phase: impl Into<String>,
        category: impl Into<String>,
        step: impl Into<String>,
        duration_ms: u128,
    )

Source from the content-addressed store, hash-verified

55 }
56
57 pub fn record_step(
58 &self,
59 phase: impl Into<String>,
60 category: impl Into<String>,
61 step: impl Into<String>,
62 duration_ms: u128,
63 ) {
64 self.record_event(
65 phase.into(),
66 Some(category.into()),
67 Some(step.into()),
68 None,
69 None,
70 Some(duration_ms),
71 );
72 }
73
74 pub fn record_elapsed_step(
75 &self,

Callers 3

record_elapsed_stepMethod · 0.80
runFunction · 0.80
create_main_windowFunction · 0.80

Calls 1

record_eventMethod · 0.45

Tested by

no test coverage detected