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

Method stop

datafusion/datasource/src/file_stream/metrics.rs:36–40  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

34 }
35
36 pub fn stop(&mut self) {
37 if let Some(start) = self.start.take() {
38 self.metrics.add_elapsed(start);
39 }
40 }
41}
42
43/// Metrics for [`FileStream`]

Callers 6

poll_scanMethod · 0.45
start_postgresFunction · 0.45
openMethod · 0.45
evaluateMethod · 0.45
transitionMethod · 0.45
loadMethod · 0.45

Calls 2

add_elapsedMethod · 0.80
takeMethod · 0.45

Tested by

no test coverage detected