Skip to content

Commit

Permalink
benchmark log to csv script handles repetition index differently now
Browse files Browse the repository at this point in the history
  • Loading branch information
faressc committed Jun 19, 2024
1 parent 52ffd33 commit f64cb29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions extras/benchmark/eval-scripts/anira_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ def get_list_from_log(file_path: str, list: list=None) -> list:
repetition_count = []
runtime = []
log_list = [operating_system, model, backend, buffer_size, repetition_index, repetition_count, iteration_count, runtime]
repetition_index = 0
else:
log_list = list

repetition_index = 0
repetition_index = max(list[4]) + 1

old_repeatition_count = 0
with open(file_path, 'r') as file:
for line in file:
Expand Down

0 comments on commit f64cb29

Please sign in to comment.