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

Function UpdateGraphExecTime

tensorflow/core/common_runtime/metrics.cc:116–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void UpdateGraphExecTime(const uint64 running_time_usecs) {
117 if (running_time_usecs > 0) {
118 graph_runs->GetCell()->IncrementBy(1);
119 graph_run_time_usecs->GetCell()->IncrementBy(running_time_usecs);
120 graph_run_time_usecs_histogram->GetCell()->Add(running_time_usecs);
121 }
122}
123
124void UpdateGraphBuildTime(const uint64 running_time_usecs) {
125 if (running_time_usecs > 0) {

Callers 2

RunInternalMethod · 0.85
ExecuteAsyncMethod · 0.85

Calls 3

IncrementByMethod · 0.45
GetCellMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected