mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-27 17:01:20 -04:00
Lots more python cleanup
This commit is contained in:
parent
0e3030dc23
commit
21e35c9068
20 changed files with 82 additions and 82 deletions
|
@ -31,7 +31,7 @@ def tabulate_arch_sweep(directory):
|
|||
file_path = os.path.join(directory, file)
|
||||
lines = []
|
||||
try:
|
||||
f = open(file_path, "r")
|
||||
f = open(file_path)
|
||||
lines = f.readlines()
|
||||
except:
|
||||
f.close()
|
||||
|
@ -84,4 +84,4 @@ def run_arch_sweep():
|
|||
|
||||
directory = run_arch_sweep()
|
||||
#directory = "run_20231120_072037-caches"
|
||||
tabulate_arch_sweep(directory)
|
||||
tabulate_arch_sweep(directory)
|
||||
|
|
|
@ -104,4 +104,4 @@ def main():
|
|||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
||||
|
||||
# "ls -Art ../addins/embench-iot/logs/*speed* | tail -n 1 " # gets most recent embench speed log
|
||||
# "ls -Art ../addins/embench-iot/logs/*speed* | tail -n 1 " # gets most recent embench speed log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue