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

Method AddDurationEndNow

library/cpp/chromium_trace/tracer.cpp:30–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 }
29
30 void TTracer::AddDurationEndNow() noexcept {
31 if (!Output)
32 return;
33
34 SuppressExceptions([&] {
35 Output->AddEvent(TDurationEndEvent{
36 TEventOrigin::Here(),
37 TEventTime::Now(),
38 TEventFlow{EFlowType::None, 0},
39 },
40 nullptr);
41 });
42 }
43
44 TMaybe<TDurationCompleteEvent> TTracer::BeginDurationCompleteNow(TStringBuf name, TStringBuf cat) noexcept {
45 if (!Output)

Callers 1

~TDurationEventGuardMethod · 0.80

Calls 2

NowFunction · 0.50
AddEventMethod · 0.45

Tested by

no test coverage detected