Clears any previously recorded events.
(&self)
| 172 | impl MorselObserver { |
| 173 | /// Clears any previously recorded events. |
| 174 | pub(crate) fn clear(&self) { |
| 175 | self.events.lock().unwrap().clear(); |
| 176 | } |
| 177 | |
| 178 | /// Records one new scheduler event. |
| 179 | pub(crate) fn push(&self, event: MorselEvent) { |
no outgoing calls
no test coverage detected