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

Method AddCurrentProcessName

library/cpp/chromium_trace/tracer.cpp:78–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77
78 void TTracer::AddCurrentProcessName(TStringBuf name) noexcept {
79 if (!Output)
80 return;
81
82 SuppressExceptions([&] {
83 Output->AddEvent(TMetadataEvent{
84 TEventOrigin::Here(),
85 TStringBuf("process_name"),
86 },
87 &TEventArgs().Add(TStringBuf("name"), name));
88 });
89 }
90
91 void TTracer::AddCurrentThreadName(TStringBuf name) noexcept {
92 if (!Output)

Callers

nothing calls this directly

Calls 3

TEventArgsClass · 0.85
AddEventMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected