| 133 | } |
| 134 | template <typename T> |
| 135 | string FormatCPUExecTime(const T* node, const Options& opts) { |
| 136 | string time = FormatTime(node->proto().total_cpu_exec_micros()); |
| 137 | if (node->account) { |
| 138 | time = FormatTime(node->proto().cpu_exec_micros()) + "/" + time; |
| 139 | } else { |
| 140 | time = "--/" + time; |
| 141 | } |
| 142 | return time; |
| 143 | } |
| 144 | template <typename T> |
| 145 | string FormatAcceleratorExecTime(const T* node, const Options& opts) { |
| 146 | string time = FormatTime(node->proto().total_accelerator_exec_micros()); |
nothing calls this directly
no test coverage detected