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

Method GetStatusHandler

tensorflow/contrib/star/star_worker_service.cc:95–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void StarWorkerService::GetStatusHandler(StarServerTag* tag) {
96 Schedule([this, tag]() {
97 StarCall<GetStatusRequest, GetStatusResponse>
98 *call = new StarCall<GetStatusRequest, GetStatusResponse>();
99 InitStarServerTag(&call->req_, &call->resp_, tag);
100
101 Status s = worker_->GetStatus(&call->req_, &call->resp_);
102
103 tag->ProcessDone(s);
104 delete call;
105 });
106}
107
108void StarWorkerService::CreateWorkerSessionHandler(StarServerTag* tag) {
109 Schedule([this, tag]() {

Callers

nothing calls this directly

Calls 3

InitStarServerTagFunction · 0.85
ProcessDoneMethod · 0.80
GetStatusMethod · 0.45

Tested by

no test coverage detected