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

Function DereferenceSocket

src/brpc/socket.cpp:2218–2222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2216}
2217
2218void DereferenceSocket(Socket* s) {
2219 if (s) {
2220 s->Dereference();
2221 }
2222}
2223
2224void Socket::UpdateStatsEverySecond(int64_t now_ms) {
2225 SharedPart* sp = GetSharedPart();

Callers 2

ConsumeMethod · 0.85
operator()Method · 0.85

Calls 1

DereferenceMethod · 0.80

Tested by

no test coverage detected