MCPcopy Create free account
hub / github.com/dmlc/parameter_server / addTask

Method addTask

src/system/dashboard.cc:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void Dashboard::addTask(const NodeID& node, int task_id) {
33 Lock l(mu_);
34 data_[node].set_task_id(task_id);
35}
36
37void Dashboard::addReport(const NodeID& node, const string& report) {
38 HeartbeatReport hb; CHECK(hb.ParseFromString(report));

Callers

nothing calls this directly

Calls 1

set_task_idMethod · 0.80

Tested by

no test coverage detected