| 123 | |
| 124 | template <typename T> |
| 125 | string FormatTotalExecTime(const T* node, const Options& opts) { |
| 126 | string time = FormatTime(node->proto().total_exec_micros()); |
| 127 | if (node->account) { |
| 128 | time = FormatTime(node->proto().exec_micros()) + "/" + time; |
| 129 | } else { |
| 130 | time = "--/" + time; |
| 131 | } |
| 132 | return time; |
| 133 | } |
| 134 | template <typename T> |
| 135 | string FormatCPUExecTime(const T* node, const Options& opts) { |
| 136 | string time = FormatTime(node->proto().total_cpu_exec_micros()); |
no test coverage detected