Return a debug string for the pool stats.
| 486 | |
| 487 | // Return a debug string for the pool stats. |
| 488 | string 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 | |
| 498 | string AdmissionController::PoolStats::DebugString() const { |
| 499 | stringstream ss; |
nothing calls this directly
no test coverage detected