Lines Matching refs:t2
19 PetscLogDouble t1, t2; in test1() local
54 PetscCall(PetscTime(&t2)); in test1()
55 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[i]", (t2 - t1) / 2000.0); in test1()
66 PetscCall(PetscTime(&t2)); in test1()
67 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[idx[i]] - unroll 4", (t2 - t1) / 2000.0); in test1()
73 PetscCall(PetscTime(&t2)); in test1()
74 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[idx[i]]", (t2 - t1) / 2000.0); in test1()
83 PetscCall(PetscTime(&t2)); in test1()
84 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[idx[i]] - unroll 2", (t2 - t1) / 2000.0); in test1()
90 PetscCall(PetscTime(&t2)); in test1()
91 fprintf(stdout, "%-27s : %e sec\n", "x[z[i]] = y[i]", (t2 - t1) / 2000.0); in test1()
97 PetscCall(PetscTime(&t2)); in test1()
98 fprintf(stdout, "%-27s : %e sec\n", "x[z[i]] = y[zi[i]]", (t2 - t1) / 2000.0); in test1()
112 PetscLogDouble t1, t2; in test2() local
153 PetscCall(PetscTime(&t2)); in test2()
154 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[i]", (t2 - t1) / 2000.0); in test2()
160 PetscCall(PetscTime(&t2)); in test2()
161 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[idx[i]]", (t2 - t1) / 2000.0); in test2()
167 PetscCall(PetscTime(&t2)); in test2()
168 fprintf(stdout, "%-27s : %e sec\n", "x[z[i]] = y[i]", (t2 - t1) / 2000.0); in test2()
174 PetscCall(PetscTime(&t2)); in test2()
175 fprintf(stdout, "%-27s : %e sec\n", "x[z[i]] = y[zi[i]]", (t2 - t1) / 2000.0); in test2()