def METHOD_NAME(self):
    for i in range(self.numReps):
        if self.shouldAbort:
            break
        startTime = time.time()
        self.executeRep(i)
        endTime = time.time()
        waitTime = self.repDuration - (endTime - startTime)
        time.sleep(max(0, waitTime))