Start timing `pass` as a child of the currently running pass, if any. This function is called by the publicly exposed pass functions.
(pass: Pass)
| 142 | /// |
| 143 | /// This function is called by the publicly exposed pass functions. |
| 144 | pub fn start_pass(pass: Pass) -> Box<dyn Any> { |
| 145 | PROFILER.with(|profiler| profiler.borrow().start_pass(pass)) |
| 146 | } |
| 147 | |
| 148 | /// Accumulated timing information for a single pass. |
| 149 | #[derive(Default, Copy, Clone)] |
nothing calls this directly
no test coverage detected