mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-06 03:00:11 +01:00
bugfix for importing ibench values
This commit is contained in:
@@ -233,7 +233,7 @@ def include_ibench(arch, ibench_output):
|
||||
new_data = []
|
||||
added_vals = 0
|
||||
with open(ibench_output) as f:
|
||||
source = f.readline()
|
||||
source = f.readlines()
|
||||
for line in source:
|
||||
if 'Using frequency' in line or len(line) == 0:
|
||||
continue
|
||||
@@ -811,7 +811,7 @@ def main():
|
||||
|
||||
# --include-ibench acts stand alone, ignoring everything else
|
||||
if args.include_ibench:
|
||||
added_values = include_ibench()
|
||||
added_values = include_ibench(args.arch, args.filepath)
|
||||
print("Sucessfully adde {} value(s)".format(added_values))
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user