'Check statistics and raise a BenchmarkError if they are invalid.
Example of tests: reject empty stat, reject stat with only nul values.'

def validateStat(self, stat):

    if (not stat):
        raise BenchmarkError('empty    statistics')
    if (not stat.getSum()):
        raise BenchmarkError('nul    statistics')
