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

Function GetTimeDevName

tensorflow/core/profiler/internal/tfprof_timeline.cc:30–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28int kMaxDisplayedMemNode = 10;
29
30string GetTimeDevName(const string& dev) {
31 if (dev.find("stream") != dev.npos) {
32 return strings::StrCat("Op execution threads: ", dev);
33 } else {
34 return strings::StrCat("Op scheduling threads: ", dev);
35 }
36}
37string GetMemoryLaneName(const string& dev) {
38 return strings::StrCat("mem usage on:", dev);
39}

Callers 1

AllocateTimeNodesMethod · 0.85

Calls 2

StrCatFunction · 0.50
findMethod · 0.45

Tested by

no test coverage detected