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

Function get_tls_block_count

src/butil/iobuf.cpp:256–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254// Used in UT
255IOBuf::Block* get_tls_block_head() { return g_tls_data.block_head; }
256int get_tls_block_count() { return g_tls_data.num_blocks; }
257
258// Number of blocks that can't be returned to TLS which has too many block
259// already. This counter should be 0 in most scenarios, otherwise performance

Callers 2

check_memory_leakFunction · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 2

check_memory_leakFunction · 0.68
TEST_FFunction · 0.68