Home
last modified time | relevance | path

Searched refs:service_addr (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/rpc/client/
Dprofiler_client_test.cc40 std::string service_addr; in TEST() local
41 auto server = StartServer(duration, &service_addr, &request); in TEST()
48 RemoteProfilerSession::Create(service_addr, deadline, request); in TEST()
65 std::string service_addr; in TEST() local
66 auto server = StartServer(duration, &service_addr, &request); in TEST()
73 RemoteProfilerSession::Create(service_addr, deadline, request); in TEST()
82 std::string service_addr; in TEST() local
83 auto server = StartServer(duration, &service_addr, &request); in TEST()
86 RemoteProfilerSession::Create(service_addr, absl::Now(), request); in TEST()
100 std::string service_addr; in TEST() local
[all …]
Dcapture_profile.h35 Status Monitor(const std::string& service_addr, int duration_ms,
Dcapture_profile.cc227 Status Monitor(const std::string& service_addr, int duration_ms, in Monitor() argument
233 TF_RETURN_IF_ERROR(MonitorGrpc(service_addr, request, &response)); in Monitor()
Dprofiler_client.h67 explicit RemoteProfilerSession(const std::string& service_addr,
/external/tensorflow/tensorflow/python/tpu/profiler/
Dcapture_tpu_profile.py115 def monitoring_helper(service_addr, duration_ms, monitoring_level, num_queries): argument
131 res = profiler_client.monitor(service_addr, duration_ms, monitoring_level)
148 if not FLAGS.service_addr and not FLAGS.tpu:
152 if FLAGS.service_addr:
156 service_addr = FLAGS.service_addr
163 service_addr = tpu_cluster_resolver.get_master()
168 service_addr = service_addr.replace('grpc://', '').replace(':8470', ':8466')
181 print('Since monitoring level is provided, profile', service_addr, ' for ',
184 monitoring_helper(service_addr, duration_ms, FLAGS.monitoring_level,
195 profiler_client.trace(service_addr, os.path.expanduser(FLAGS.logdir),
[all …]
/external/tensorflow/tensorflow/python/eager/
Dprofiler_client.py26 def start_tracing(service_addr, argument
49 _pywrap_profiler.trace(service_addr, logdir, worker_list, include_dataset_ops,
54 def monitor(service_addr, argument
72 return _pywrap_profiler.monitor(service_addr, duration_ms, monitoring_level,
/external/tensorflow/tensorflow/python/profiler/
Dprofiler_client.py30 def trace(service_addr, argument
134 _strip_addresses(service_addr, _GRPC_PREFIX), logdir, worker_list, True,
139 def monitor(service_addr, duration_ms, level=1): argument
168 _strip_prefix(service_addr, _GRPC_PREFIX), duration_ms, level, True)
/external/tensorflow/tensorflow/python/profiler/internal/
Dprofiler_wrapper.cc101 [](const char* service_addr, const char* logdir, in PYBIND11_MODULE()
110 service_addr, logdir, worker_list, include_dataset_ops, in PYBIND11_MODULE()
117 m.def("monitor", [](const char* service_addr, int duration_ms, in PYBIND11_MODULE() argument
124 service_addr, duration_ms, monitoring_level, display_timestamp, in PYBIND11_MODULE()
Dprofiler_pywrap_impl.cc215 const char* service_addr, const char* logdir, const char* worker_list, in Trace() argument
221 GetOptionsLocked(service_addr, logdir, worker_list, include_dataset_ops, in Trace()
232 tensorflow::Status Monitor(const char* service_addr, int duration_ms, in Monitor() argument
235 TF_RETURN_IF_ERROR(ValidateHostPortPair(service_addr)); in Monitor()
238 service_addr, duration_ms, monitoring_level, display_timestamp, in Monitor()
Dprofiler_pywrap_impl.h30 const char* service_addr, const char* logdir, const char* worker_list,
34 tensorflow::Status Monitor(const char* service_addr, int duration_ms,
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.profiler.experimental.client.pbtxt5 …argspec: "args=[\'service_addr\', \'duration_ms\', \'level\'], varargs=None, keywords=None, defaul…
9 …argspec: "args=[\'service_addr\', \'logdir\', \'duration_ms\', \'worker_list\', \'num_tracing_atte…