MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / UpdateXlaCompilationTime

Function UpdateXlaCompilationTime

tensorflow/core/common_runtime/metrics.cc:131–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void 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

Callers 1

CompileStrictMethod · 0.85

Calls 2

IncrementByMethod · 0.45
GetCellMethod · 0.45

Tested by

no test coverage detected