MCPcopy Create free account
hub / github.com/BillyDM/Firewheel / begin_node_profiling

Method begin_node_profiling

crates/firewheel-graph/src/processor/profiling.rs:207–215  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

205
206 #[cfg(feature = "node_profiling")]
207 pub fn begin_node_profiling(&mut self) {
208 self.node_schedule_index = 0;
209
210 if self.is_profiling_nodes
211 && let Some(now) = crate::time::now()
212 {
213 self.node_profile_start_instant = now;
214 }
215 }
216
217 #[cfg(feature = "node_profiling")]
218 pub fn node_completed(&mut self) {

Callers 1

process_blockMethod · 0.80

Calls 1

nowFunction · 0.85

Tested by

no test coverage detected