Home
last modified time | relevance | path

Searched refs:kCmds (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/
Dprofiler.cc44 for (const char* opt : kCmds) { in completion()
172 if (string(argv[1]) == kCmds[6]) { in Run()
176 if (string(argv[1]) == kCmds[0] || string(argv[1]) == kCmds[1] || in Run()
177 string(argv[1]) == kCmds[2] || string(argv[1]) == kCmds[3] || in Run()
178 string(argv[1]) == kCmds[4]) { in Run()
246 if (cmd == kCmds[4]) { in Run()
261 if (cmd == kCmds[2] || cmd == kCmds[3]) { in Run()
265 } else if (cmd == kCmds[0] || cmd == kCmds[1]) { in Run()
302 if (cmd == kCmds[5]) { in Run()
304 } else if (cmd == kCmds[6]) { in Run()
[all …]
Dtfprof_options.h70 static const char* const kCmds[] = { variable
/external/tensorflow/tensorflow/core/profiler/internal/
Dprint_model_analysis.cc38 if (command == kCmds[4]) { in RunProfile()
64 if (command == kCmds[2] || command == kCmds[3]) { in RunProfile()
66 } else if (command == kCmds[0] || command == kCmds[1]) { in RunProfile()
76 if (command == kCmds[2] || command == kCmds[3]) { in RunProfile()
78 } else if (command == kCmds[0] || command == kCmds[1]) { in RunProfile()
Dtfprof_stats.cc109 if (cmd == kCmds[0] && !scope_view_) { in BuildView()
116 if (cmd == kCmds[1] && !graph_view_) { in BuildView()
123 if (cmd == kCmds[2] && !code_view_) { in BuildView()
130 if (cmd == kCmds[3] && !op_view_) { in BuildView()
140 std::vector<string> cmds_str(kCmds, kCmds + sizeof(kCmds) / sizeof(*kCmds)); in BuildAllViews()
154 if (cmd == kCmds[0]) { in ShowGraphNode()
156 } else if (cmd == kCmds[1]) { in ShowGraphNode()
180 if (cmd == kCmds[2]) { in ShowMultiGraphNode()
186 } else if (cmd == kCmds[3]) { in ShowMultiGraphNode()
Dtfprof_utils.cc121 std::vector<string> cmds_str(kCmds, kCmds + sizeof(kCmds) / sizeof(*kCmds)); in ParseCmdLine()
372 if (cmd == kCmds[0]) { in QueryDoc()
374 } else if (cmd == kCmds[1]) { in QueryDoc()
376 } else if (cmd == kCmds[2]) { in QueryDoc()
378 } else if (cmd == kCmds[3]) { in QueryDoc()
380 } else if (cmd == kCmds[4]) { in QueryDoc()
382 } else if (cmd == kCmds[5]) { in QueryDoc()
384 } else if (cmd == kCmds[6]) { in QueryDoc()