TIME_TO_IDLE
} else if ((unsigned)(ticks - sc->active_tick) >= TIME_TO_IDLE) {
sc->active_tick = ticks - TIME_TO_IDLE; /* prevent overflow */