MCPcopy Create free account
hub / github.com/apache/brpc / local_parent

Method local_parent

src/brpc/span.h:155–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 }
154
155 std::weak_ptr<Span> local_parent() const { return _local_parent; }
156 static std::shared_ptr<Span> tls_parent() {
157 auto parent = GetTlsParentSpan();
158 if (parent && parent->is_active()) {

Callers 2

SubmitSpanMethod · 0.80
SubmitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected