MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / elapsed

Method elapsed

crates/runtime/src/sim/executor/mod.rs:157–159  ·  view source on GitHub ↗

Return the amount of virtual time elapsed in this runtime.

(&self)

Source from the content-addressed store, hash-verified

155
156 /// Return the amount of virtual time elapsed in this runtime.
157 pub fn elapsed(&self) -> Duration {
158 self.executor.elapsed()
159 }
160
161 /// Get a cloneable handle for spawning tasks and accessing runtime services.
162 pub fn handle(&self) -> Handle {

Callers 15

run_with_timeoutFunction · 0.80
run_oneMethod · 0.80
begin_txMethod · 0.80
newMethod · 0.80
begin_mut_txMethod · 0.80
try_begin_mut_txMethod · 0.80
apply_historyFunction · 0.80
clear_expired_viewsMethod · 0.80
wait_for_listen_addrFunction · 0.80
wait_for_serverFunction · 0.80
try_until_timeoutFunction · 0.80
to_protocolMethod · 0.80

Calls 1

nowMethod · 0.45