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

Method record_elapsed_step

src/apps/desktop/src/startup_trace.rs:74–83  ·  view source on GitHub ↗
(
        &self,
        category: impl Into<String>,
        step: impl Into<String>,
        started_at: Instant,
    )

Source from the content-addressed store, hash-verified

72 }
73
74 pub fn record_elapsed_step(
75 &self,
76 category: impl Into<String>,
77 step: impl Into<String>,
78 started_at: Instant,
79 ) -> u128 {
80 let duration_ms = elapsed_ms(started_at);
81 self.record_step("native_step_end", category, step, duration_ms);
82 duration_ms
83 }
84
85 pub fn record_tauri_command_elapsed(
86 &self,

Calls 2

elapsed_msFunction · 0.85
record_stepMethod · 0.80

Tested by

no test coverage detected