(argv)
| 110 | seq_str, count, pct, loops, loop_pct)) |
| 111 | |
| 112 | def main(argv): |
| 113 | if len(argv) < 2: |
| 114 | print("Usage: python {} <trace-file>".format(argv[0])) |
| 115 | sys.exit(1) |
| 116 | |
| 117 | max_seq = 7 |
| 118 | stats, total = parse(argv[1], max_seq) |
| 119 | for i in range(max_seq): |
| 120 | print() |
| 121 | print("Most common of length {}".format(i+1)) |
| 122 | print() |
| 123 | print_most_common(stats[i], i, total) |
| 124 | |
| 125 | if __name__ == '__main__': |
| 126 | main(sys.argv) |
no test coverage detected
searching dependent graphs…