| 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) |
no test coverage detected