MCPcopy Create free account
hub / github.com/catboost/catboost / WriteArgs

Method WriteArgs

library/cpp/chromium_trace/yson.cpp:128–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void TYsonTraceConsumer::WriteArgs(const TEventArgs& args) {
129 Yson.OnKeyedItem(TStringBuf("args"));
130 Yson.OnBeginMap();
131 for (const auto& item : args.Items) {
132 Yson.OnKeyedItem(item.Name);
133 std::visit(TWriteArg{&Yson}, item.Value);
134 }
135 Yson.OnEndMap();
136}
137
138void TYsonTraceConsumer::WriteFlow(const TEventFlow& flow) {
139 if (flow.Type == EFlowType::None) {

Callers

nothing calls this directly

Calls 4

visitFunction · 0.50
OnKeyedItemMethod · 0.45
OnBeginMapMethod · 0.45
OnEndMapMethod · 0.45

Tested by

no test coverage detected