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

Method debugString

src/system/message.cc:51–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51std::string Message::debugString() const {
52 std::stringstream ss;
53 ss << "[message]: " << sender << "=>" << recver
54 << "(" << original_recver << ")\n"
55 << "[task]:" << task.ShortDebugString()
56 << "\n[key]:" << key.size()
57 << "\n[" << value.size() << " value]: ";
58 for (const auto& x: value)
59 ss << x.size() << " ";
60 return ss.str();
61}
62
63
64} // namespace PS

Callers 3

syncMethod · 0.45
runMethod · 0.45
decodeMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected