Refactoring: Added flag to oneRun method to indicate warmup.