Skip to content

Commit

Permalink
log warmup overhead time
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshyoga committed Feb 21, 2024
1 parent 0d3ac76 commit e77c8ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dpbench/infrastructure/benchmark_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ def print(self, framework_name: str = "", framework_version: str = ""):
"median execution times:",
self._format_ns(self.median_exec_time),
)
print(
"warmup overhead time (warmup time - median execution time):",
self._format_ns(
int(self.warmup_time) - int(self.median_exec_time)
),
)
print("repeats:", self.repeats)
print("preset:", self.preset)
print("validated:", self.validation_state)
Expand Down

0 comments on commit e77c8ae

Please sign in to comment.