Assume tokens are generated periodically, and the shaper will check if there is any packet to process only at the timestamp when tokens are generated.