MCPcopy Create free account
hub / github.com/facebook/CacheLib / printOpCounters

Function printOpCounters

cachelib/interface/Stats.cpp:84–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83template <typename OpCounterT>
84void printOpCounters(std::ostream& os, const char* name, const OpCounterT& op) {
85 os << " " << name << ":";
86 if (op.throughput_.calls_ == 0) {
87 os << " (not called)" << std::endl;
88 } else {
89 printThroughput(os, op.throughput_);
90 os << std::endl << " latency:" << op.latency_ << std::endl;
91 }
92}
93
94void printExtraOpCounters(
95 std::ostream& os,

Callers 1

Stats.cppFile · 0.85

Calls 1

printThroughputFunction · 0.85

Tested by

no test coverage detected