| 82 | |
| 83 | template <typename OpCounterT> |
| 84 | void 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 | |
| 94 | void printExtraOpCounters( |
| 95 | std::ostream& os, |
no test coverage detected