MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / ticker_ticks

Function ticker_ticks

deps/jemalloc/include/jemalloc/internal/ticker.h:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64static inline bool
65ticker_ticks(ticker_t *ticker, int32_t nticks) {
66 ticker->tick -= nticks;
67 if (unlikely(ticker->tick < 0)) {
68 return ticker_fixup(ticker);
69 }
70 return false;
71}
72
73static inline bool
74ticker_tick(ticker_t *ticker) {

Callers 3

ticker_tickFunction · 0.70
arena_decay_ticksFunction · 0.70
TEST_BEGINFunction · 0.50

Calls 1

ticker_fixupFunction · 0.85

Tested by 1

TEST_BEGINFunction · 0.40