MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / Clear

Method Clear

oneflow/core/control/rpc_client.cpp:162–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void RpcClient::Clear() {
163 ClientCall<CtrlMethod::kClear> call;
164 call(GetThisStub());
165 std::unique_lock<std::mutex> lck(done_names_mtx_);
166 done_names_.clear();
167}
168
169int32_t RpcClient::IncreaseCount(const std::string& k, int32_t v) {
170 ClientCall<CtrlMethod::kIncreaseCount> call;

Callers 1

InitProcessCtxMethod · 0.45

Calls 2

callFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected