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

Method DebugPoolStats

be/src/scheduling/admission-controller.cc:488–496  ·  view source on GitHub ↗

Return a debug string for the pool stats.

Source from the content-addressed store, hash-verified

486
487// Return a debug string for the pool stats.
488string AdmissionController::PoolStats::DebugPoolStats(const TPoolStats& stats) const {
489 stringstream ss;
490 ss << "num_admitted_running=" << stats.num_admitted_running << ", ";
491 ss << "num_queued=" << stats.num_queued << ", ";
492 ss << "backend_mem_reserved=" << PrintBytes(stats.backend_mem_reserved) << ", ";
493 ss << "user_loads=" << AdmissionController::DebugString(stats.user_loads) << ", ";
494 AppendStatsForConsumedMemory(ss, stats);
495 return ss.str();
496}
497
498string AdmissionController::PoolStats::DebugString() const {
499 stringstream ss;

Callers

nothing calls this directly

Calls 3

PrintBytesFunction · 0.85
DebugStringFunction · 0.50
strMethod · 0.45

Tested by

no test coverage detected