(&mut self)
| 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) { |