MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / elapsed

Method elapsed

nodedb-cluster/src/migration.rs:215–217  ·  view source on GitHub ↗

Elapsed time since migration started.

(&self)

Source from the content-addressed store, hash-verified

213
214 /// Elapsed time since migration started.
215 pub fn elapsed(&self) -> Option<std::time::Duration> {
216 self.started_at.map(|s| s.elapsed())
217 }
218
219 pub fn vshard_id(&self) -> u32 {
220 self.vshard_id

Callers 15

builder_loopFunction · 0.80
wait_forFunction · 0.80
wait_for_asyncFunction · 0.80
is_fresh_enoughMethod · 0.80
stalenessMethod · 0.80
checkMethod · 0.80
snapshotMethod · 0.80
sweep_onceMethod · 0.80
tickMethod · 0.80
sweep_onceMethod · 0.80

Calls

no outgoing calls

Tested by 15

starvation_propertyFunction · 0.64
pollFunction · 0.64
wait_forFunction · 0.64
raw_put_timingFunction · 0.64