SERVER-8119: add TimerStats class for collecting timing information