Added functions samplingStatsSummary and timingStatsSummary.