update parse_get_avg.py

main
xiaosuGW 3 years ago
parent 34fbd0f069
commit b0416ea350

@ -26,11 +26,11 @@ def parse_file(file_dir):
fo = open(file_dir, "r+")
next(fo)
for line in fo:
if "module " in line:
#if "module " in line:
#jump two lines
next(fo)
continue
if "min" in line or "miss" in line or "meet" in line:
# next(fo)
# continue
if "total_time" in line or "min" in line or "miss" in line or "meet" in line or "time " in line or "scheduling count" in line:
continue
t = line.split(",")
id = t[0]

Loading…
Cancel
Save