MCPcopy Create free account
hub / github.com/MagmaWM/MagmaWM / start

Method start

src/debug.rs:347–355  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

345
346impl Fps {
347 pub fn start(&mut self) {
348 self.current_frame = Some(PendingFrame {
349 start: Instant::now(),
350 duration_elements: None,
351 duration_render: None,
352 duration_screencopy: None,
353 duration_displayed: None,
354 });
355 }
356
357 pub fn elements(&mut self) {
358 if let Some(frame) = self.current_frame.as_mut() {

Callers 2

renderMethod · 0.80
winit_dispatchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected