Ticks-per-frame counter