import os

if __name__ == "__main__":
    dims = ["32", "64", "128", "256", "512", "1024", "2048"]

    for dim in dims:
        os.system(
            f"perf stat -e r11 -x, -r 10 ../matmul.out ../data/mat-A-{dim}.txt ../data/mat-B-{dim}.txt ./out/out-{dim}.txt 2>>res_arm.csv"
        )

        print(f"Finished {dim}")

    print("Finished.")
[((7, 8, 9, 9), 'os.system', 'os.system', ({(8, 12, 8, 138): 'f"""perf stat -e r11 -x, -r 10 ../matmul.out ../data/mat-A-{dim}.txt ../data/mat-B-{dim}.txt ./out/out-{dim}.txt 2>>res_arm.csv"""'}, {}), "(\n    f'perf stat -e r11 -x, -r 10 ../matmul.out ../data/mat-A-{dim}.txt ../data/mat-B-{dim}.txt ./out/out-{dim}.txt 2>>res_arm.csv'\n    )", False, 'import os\n')]