- Add a counter that is incremented once on exit from a scop. This tells us
the number of times a scop has been executed.
- Test cases for per-scop metrics are split into two: one to test cycles, and another one to test trip counts.
- Sample output:
sample-output.txt
scop function, entry block name, exit block name, total time, trip count warmup, %entry.split, %polly.merge_new_and_old, 5180, 1 f, %entry.split, %polly.merge_new_and_old, 409944, 500 g, %entry.split, %polly.merge_new_and_old, 1226, 1