Make the TPS command accurate by averaging over the sample interval, not just the current tick.