MCPcopy Create free account
hub / github.com/apache/datafusion / duration

Method duration

datafusion-cli/src/object_storage/instrumented.rs:507–514  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

505
506impl RequestDetails {
507 fn duration(&self) -> Option<Duration> {
508 let nanos = self.duration_nanos.load(Ordering::Acquire);
509 if nanos == 0 {
510 None
511 } else {
512 Some(Duration::from_nanos(nanos))
513 }
514 }
515}
516
517impl fmt::Display for RequestDetails {

Callers 3

fmtMethod · 0.80
pushMethod · 0.80
instrumented_store_listFunction · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected