MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / now_us

Function now_us

packages/server/src/simulators/session.rs:567–572  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

565}
566
567fn now_us() -> u64 {
568 SystemTime::now()
569 .duration_since(UNIX_EPOCH)
570 .unwrap_or(Duration::ZERO)
571 .as_micros() as u64
572}
573
574fn shared_refresh_interval() -> Duration {
575 let target_fps = std::env::var("SIMDECK_REALTIME_FPS")

Callers 3

request_keyframeMethod · 0.85
request_refreshMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected