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

Method ElapsedCycles

tensorflow/core/common_runtime/executor.cc:146–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 uint64 start_cycles = profile_utils::CpuUtils::GetCurrentClockCycle();
145
146 uint64 ElapsedCycles() {
147 return profile_utils::CpuUtils::GetCurrentClockCycle() - start_cycles;
148 }
149};
150
151// TODO(b/152925936): Re-evaluate these constants with current usage patterns.

Callers 1

ProcessSyncMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected