void GetStat(StatValue* pval, unsigned index) const;
GetStat obtains the statistics value of the timer.