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

Method AddSampleLocked

be/src/util/runtime-profile.cc:1867–1870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1865}
1866
1867void RuntimeProfile::SamplingTimeSeriesCounter::AddSampleLocked(
1868 int64_t sample, int ms_elapsed){
1869 samples_.AddSample(sample, ms_elapsed);
1870}
1871
1872const int64_t* RuntimeProfile::SamplingTimeSeriesCounter::GetSamplesLocked(
1873 int* num_samples, int* period) const {

Callers

nothing calls this directly

Calls 5

eraseMethod · 0.80
push_backMethod · 0.80
AddSampleMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected