MCPcopy Create free account
hub / github.com/apache/impala / GetSamples

Method GetSamples

be/src/util/streaming-sampler.h:91–95  ·  view source on GitHub ↗

Get the samples collected. Returns the number of samples and the period they were collected at.

Source from the content-addressed store, hash-verified

89 /// Get the samples collected. Returns the number of samples and the period they were
90 /// collected at.
91 const T* GetSamples(int* num_samples, int* period) const {
92 *num_samples = samples_collected_;
93 *period = period_;
94 return samples_;
95 }
96
97 private:
98 /// Aggregated samples collected. Note: this is not all the input samples from

Callers 2

ValidateSamplerFunction · 0.45
GetSamplesLockedMethod · 0.45

Calls

no outgoing calls

Tested by 1

ValidateSamplerFunction · 0.36