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

Function ToString

be/src/rpc/rpc-mgr.cc:297–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297static string ToString(kudu::HistogramPrototype& metric,
298 const scoped_refptr<kudu::MetricEntity>& metric_entity, TUnit::type unit) {
299 kudu::HdrHistogram snapshot(*metric.Instantiate(metric_entity)->histogram());
300 return HistogramMetric::HistogramToHumanReadable(&snapshot, unit);
301}
302
303void RpcMgr::ToJson(Document* document) {
304 if (messenger_.get() == nullptr) return;

Callers 3

ToJsonMethod · 0.70
ToStringMethod · 0.50
ToStringMethod · 0.50

Calls 2

histogramMethod · 0.80
InstantiateMethod · 0.45

Tested by

no test coverage detected