| 129 | } |
| 130 | |
| 131 | void UpdateXlaCompilationTime(const uint64 compilation_time_usecs) { |
| 132 | if (compilation_time_usecs > 0) { |
| 133 | xla_compilations->GetCell()->IncrementBy(1); |
| 134 | xla_compilation_time_usecs->GetCell()->IncrementBy(compilation_time_usecs); |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | } // namespace metrics |
| 139 | } // namespace tensorflow |
no test coverage detected