Home
last modified time | relevance | path

Searched refs:service_address (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/rpc/client/
Dprofiler_client.cc41 const std::string& service_address) { in CreateStub() argument
46 service_address, ::grpc::InsecureChannelCredentials(), channel_args); in CreateStub()
48 LOG(ERROR) << "Unable to create channel" << service_address; in CreateStub()
55 Status ProfileGrpc(const std::string& service_address, in ProfileGrpc() argument
59 CreateStub<grpc::ProfilerService>(service_address); in ProfileGrpc()
65 Status NewSessionGrpc(const std::string& service_address, in NewSessionGrpc() argument
70 CreateStub<grpc::ProfileAnalysis>(service_address); in NewSessionGrpc()
76 Status MonitorGrpc(const std::string& service_address, in MonitorGrpc() argument
80 CreateStub<grpc::ProfilerService>(service_address); in MonitorGrpc()
87 const std::string& service_address, absl::Time deadline, in Create() argument
[all …]
Dremote_profiler_session_manager_test.cc70 std::string service_address; in TEST() local
71 auto server = StartServer(duration, &service_address); in TEST()
72 options.add_service_addresses(service_address); in TEST()
80 PopulateProfileRequest(TmpDir(), "session_id", service_address, options); in TEST()
102 std::string service_address; in TEST() local
103 auto server = StartServer(duration, &service_address); in TEST()
104 options.add_service_addresses(service_address); in TEST()
113 PopulateProfileRequest(TmpDir(), "session_id", service_address, options); in TEST()
135 std::string service_address; in TEST() local
136 auto server = StartServer(duration, &service_address); in TEST()
[all …]
Dprofiler_client_test_util.h40 absl::Duration duration, std::string* service_address,
46 DCHECK(service_address);
47 *service_address = absl::StrCat("localhost:", port);
56 request->set_host_name(*service_address);
60 LOG(INFO) << "Started " << *service_address << " at " << absl::Now();
Dprofiler_client.h34 Status ProfileGrpc(const std::string& service_address,
37 Status NewSessionGrpc(const std::string& service_address,
41 Status MonitorGrpc(const std::string& service_address,
50 const std::string& service_address, absl::Time deadline,
Dremote_profiler_session_manager.cc86 for (auto& service_address : options_.service_addresses()) { in Init() local
87 std::string resolved_service_address = resolver_(service_address); in Init()
111 remote_response.service_address = std::string(client->GetServiceAddress()); in WaitForCompletion()
Dcapture_profile.cc134 << client_response.service_address; in Profile()
141 client_response.service_address, response, in Profile()
145 LOG(WARNING) << client_response.service_address << " returned " in Profile()
Dremote_profiler_session_manager.h40 std::string service_address; member