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

Method DebugString

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

Source from the content-addressed store, hash-verified

496}
497
498string AdmissionController::PoolStats::DebugString() const {
499 stringstream ss;
500 ss << "agg_num_running=" << agg_num_running_ << ", ";
501 ss << "agg_num_queued=" << agg_num_queued_ << ", ";
502 ss << "agg_mem_reserved=" << PrintBytes(agg_mem_reserved_) << ", ";
503 ss << "agg_user_loads=" << agg_user_loads_.DebugString() << ", ";
504 ss << " local_host(local_mem_admitted=" << PrintBytes(local_mem_admitted_) << ", ";
505 ss << "local_trivial_running=" << local_trivial_running_ << ", ";
506 ss << DebugPoolStats(local_stats_) << ")";
507 return ss.str();
508}
509
510// Output the string 'value with indentation of 'n' space characters.
511// When eof is true, append a newline.

Callers 7

SubmitForAdmissionMethod · 0.45
WaitOnQueuedMethod · 0.45
ReleaseQueryMethod · 0.45

Calls 3

PrintBytesFunction · 0.85
DebugStringFunction · 0.50
strMethod · 0.45

Tested by

no test coverage detected