Home | History | Annotate | Download | only in internal

Lines Matching refs:tick

16 	int32_t tick;
22 ticker->tick = nticks;
33 return ticker->tick;
39 * ticker->tick -= nticks;
40 * if (unlikely(ticker->tick < 0)) {
61 ticker->tick = ticker->nticks;
67 ticker->tick -= nticks;
68 if (unlikely(ticker->tick < 0)) {
80 * Try to tick. If ticker would fire, return true, but rely on
85 --ticker->tick;
86 if (unlikely(ticker->tick < 0)) {
94 * having a constant countdown, it has an approximate one; each tick has
105 * By giving each tick a 1/nticks chance of firing, we still maintain the same
118 int32_t tick;
138 ticker->tick = nticks;
144 return ticker->tick;
155 ticker->tick = (uint32_t)(
163 ticker->tick -= nticks;
164 if (unlikely(ticker->tick < 0)) {