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

Function GetUniqueArg

tensorflow/core/platform/tracing.cc:56–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56uint64 GetUniqueArg() {
57 return unique_arg.fetch_add(1, std::memory_order_relaxed);
58}
59
60uint64 GetArgForName(StringPiece name) {
61 return Hash64(name.data(), name.size());

Callers 5

CreateTaskMethod · 0.85
SchedClosureFunction · 0.85
CreateTaskMethod · 0.85
ScopedRegionMethod · 0.85
NewTraceRpcMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected