Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/profiler/
Dprofiler.cc47 for (const char* opt : kCmds) { in completion()
175 if (string(argv[1]) == kCmds[6]) { in Run()
179 if (string(argv[1]) == kCmds[0] || string(argv[1]) == kCmds[1] || in Run()
180 string(argv[1]) == kCmds[2] || string(argv[1]) == kCmds[3] || in Run()
181 string(argv[1]) == kCmds[4]) { in Run()
250 if (cmd == kCmds[4]) { in Run()
265 if (cmd == kCmds[2] || cmd == kCmds[3]) { in Run()
269 } else if (cmd == kCmds[0] || cmd == kCmds[1]) { in Run()
306 if (cmd == kCmds[5]) { in Run()
308 } else if (cmd == kCmds[6]) { in Run()
[all …]
Dtfprof_options.h70 static const char* const kCmds[] = { variable
/external/tensorflow/tensorflow/cc/profiler/
Dprofiler.cc33 stats_->BuildView(kCmds[1]); in ProfileGraph()
34 return stats_->ShowGraphNode(kCmds[1], options); in ProfileGraph()
38 stats_->BuildView(kCmds[0]); in ProfileNameScope()
39 return stats_->ShowGraphNode(kCmds[0], options); in ProfileNameScope()
43 stats_->BuildView(kCmds[3]); in ProfileOperations()
44 return stats_->ShowMultiGraphNode(kCmds[3], options); in ProfileOperations()
/external/tensorflow/tensorflow/core/profiler/internal/
Dprint_model_analysis.cc40 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()
75 if (command == kCmds[2] || command == kCmds[3]) { in RunProfile()
77 } else if (command == kCmds[0] || command == kCmds[1]) { in RunProfile()
Dtfprof_stats.cc108 if (cmd == kCmds[0] && !scope_view_) { in BuildView()
115 if (cmd == kCmds[1] && !graph_view_) { in BuildView()
122 if (cmd == kCmds[2] && !code_view_) { in BuildView()
129 if (cmd == kCmds[3] && !op_view_) { in BuildView()
139 std::vector<string> cmds_str(kCmds, kCmds + sizeof(kCmds) / sizeof(*kCmds)); in BuildAllViews()
153 if (cmd == kCmds[0]) { in ShowGraphNode()
155 } else if (cmd == kCmds[1]) { in ShowGraphNode()
179 if (cmd == kCmds[2]) { in ShowMultiGraphNode()
185 } else if (cmd == kCmds[3]) { in ShowMultiGraphNode()
Dtfprof_utils.cc120 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()