* Try to tick. If ticker would fire, return true, but rely on * slowpath to reset ticker. */
| 80 | * slowpath to reset ticker. |
| 81 | */ |
| 82 | static inline bool |
| 83 | ticker_trytick(ticker_t *ticker) { |
| 84 | --ticker->tick; |
| 85 | if (unlikely(ticker->tick < 0)) { |
| 86 | return true; |
| 87 | } |
| 88 | return false; |
| 89 | } |
| 90 | |
| 91 | #endif /* JEMALLOC_INTERNAL_TICKER_H */ |
no outgoing calls
no test coverage detected