Lines Matching refs:t1
19 PetscLogDouble t1, t2; in test1() local
34 PetscCall(PetscTime(&t1)); in test1()
52 PetscCall(PetscTime(&t1)); in test1()
55 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[i]", (t2 - t1) / 2000.0); in test1()
59 PetscCall(PetscTime(&t1)); in test1()
67 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[idx[i]] - unroll 4", (t2 - t1) / 2000.0); in test1()
71 PetscCall(PetscTime(&t1)); in test1()
74 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[idx[i]]", (t2 - t1) / 2000.0); in test1()
78 PetscCall(PetscTime(&t1)); in test1()
84 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[idx[i]] - unroll 2", (t2 - t1) / 2000.0); in test1()
88 PetscCall(PetscTime(&t1)); in test1()
91 fprintf(stdout, "%-27s : %e sec\n", "x[z[i]] = y[i]", (t2 - t1) / 2000.0); in test1()
95 PetscCall(PetscTime(&t1)); 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
122 PetscCall(PetscTime(&t1)); in test2()
151 PetscCall(PetscTime(&t1)); in test2()
154 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[i]", (t2 - t1) / 2000.0); in test2()
158 PetscCall(PetscTime(&t1)); in test2()
161 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[idx[i]]", (t2 - t1) / 2000.0); in test2()
165 PetscCall(PetscTime(&t1)); in test2()
168 fprintf(stdout, "%-27s : %e sec\n", "x[z[i]] = y[i]", (t2 - t1) / 2000.0); in test2()
172 PetscCall(PetscTime(&t1)); in test2()
175 fprintf(stdout, "%-27s : %e sec\n", "x[z[i]] = y[zi[i]]", (t2 - t1) / 2000.0); in test2()