MCPcopy Create free account
hub / github.com/apache/brpc / get_span

Method get_span

src/bvar/window.h:95–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 bool get_span(time_t window_size, detail::Sample<value_type>* result) const {
96 return _sampler->get_value(window_size, result);
97 }
98
99 bool get_span(detail::Sample<value_type>* result) const {
100 return get_span(_window_size, result);

Callers 3

get_valueMethod · 0.80
get_window_recorder_qpsFunction · 0.80
qpsMethod · 0.80

Calls 1

get_valueMethod · 0.45

Tested by

no test coverage detected