(
&self,
category: impl Into<String>,
step: impl Into<String>,
started_at: Instant,
)
| 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, |
no test coverage detected