Skip to content

Commit

Permalink
Merge pull request #16 from OpenXiangShan/fix-eval-time
Browse files Browse the repository at this point in the history
eval-time: fix bug
  • Loading branch information
Maxpicca-Li committed May 25, 2023
2 parents a6b40b4 + fc1d69f commit 3734231
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion perf/gcpt_run_time_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def eval_time_and_opt(data: dict, parallel_num: int, reverse = False):
sorted_by=lambda x: x.hour
else:
sorted_by=lambda x: -x.hour
sorted(bench_list, sorted_by)
bench_list = sorted(bench_list, key=sorted_by)

opt_exe_hours = 0
opt_hours_list = []
Expand Down
1 change: 1 addition & 0 deletions perf/xs_autorun_multiServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import spec_score
from server import Server
from gcpt_run_time_eval import *
import AutoEmailAlert

tasks_dir = "SPEC06_EmuTasks_10_22_2021"
perf_base_path = ""
Expand Down

0 comments on commit 3734231

Please sign in to comment.