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

Method append

valdi_core/src/valdi_core/cpp/Utils/Trace.cpp:78–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
77 out += prefix;
78 out.append(1, '.');
79 out += suffix;
80 return out;
81}
82
83TraceDuration RecordedTrace::duration() const {
84 return TraceDuration(end - start);
85}
86
87ScopedTrace::ScopedTrace(const StringBox& trace)
88 : _ownedTrace(trace.toStringView()), _trace(_ownedTrace), _snapTrace(_trace) {

Callers

nothing calls this directly

Calls 2

getCurrentThreadIdFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected