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

Function GetStartRealTime

src/brpc/builtin/rpcz_service.cpp:245–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245inline int64_t GetStartRealTime(const RpczSpan& span) {
246 return span.type() == SPAN_TYPE_SERVER ?
247 span.received_real_us() : span.start_send_real_us();
248}
249
250struct CompareByStartRealTime {
251 bool operator()(const RpczSpan& s1, const RpczSpan& s2) const {

Callers 1

operator()Method · 0.85

Calls 3

received_real_usMethod · 0.80
start_send_real_usMethod · 0.80
typeMethod · 0.45

Tested by

no test coverage detected