MCPcopy Create free account
hub / github.com/Snapchat/Valdi / step

Method step

libs/utils/src/utils/debugging/Trace.cpp:112–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void IosSignpostEmitter::step(const TraceStep<std::string_view>& traceStep) {
113 if (__builtin_available(iOS 12.0, *)) {
114 os_signpost_event_emit(nativeSignpostLogger(),
115 _signpostId,
116 "AsyncTrace",
117 "%{public}s:%{public}s",
118 traceStep.name.data(),
119 traceStep.step.data());
120 }
121}
122
123void IosSignpostEmitter::end(const TraceEnd& traceEnd) {
124 if (__builtin_available(iOS 12.0, *)) {

Callers

nothing calls this directly

Calls 2

nativeSignpostLoggerFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected