Lines Matching full:iteration
65 static int iteration; variable
83 int current_iteration = READ_ONCE(iteration); in vcpu_worker()
96 pr_debug("vCPU %d updated last completed iteration to %d\n", in vcpu_worker()
102 pr_debug("vCPU %d iteration %d dirty memory time: %ld.%.9lds\n", in vcpu_worker()
106 pr_debug("vCPU %d iteration %d populate memory time: %ld.%.9lds\n", in vcpu_worker()
113 * (iteration is negative) so that vCPUs are accessing memory in vcpu_worker()
116 while (current_iteration == READ_ONCE(iteration) && in vcpu_worker()
117 READ_ONCE(iteration) >= 0 && !READ_ONCE(host_quit)) {} in vcpu_worker()
121 …bug("\nvCPU %d dirtied 0x%lx pages over %d iterations in %ld.%.9lds. (Avg %ld.%.9lds/iteration)\n", in vcpu_worker()
172 iteration = 0; in run_test()
191 pr_debug("Starting iteration %d - Populating\n", iteration); in run_test()
194 iteration) in run_test()
212 while (iteration < p->iterations) { in run_test()
214 * Incrementing the iteration number will start the vCPUs in run_test()
218 iteration++; in run_test()
220 pr_debug("Starting iteration %d\n", iteration); in run_test()
223 != iteration) in run_test()
229 pr_info("Iteration %d dirty memory time: %ld.%.9lds\n", in run_test()
230 iteration, ts_diff.tv_sec, ts_diff.tv_nsec); in run_test()
237 pr_info("Iteration %d get dirty log time: %ld.%.9lds\n", in run_test()
238 iteration, ts_diff.tv_sec, ts_diff.tv_nsec); in run_test()
247 pr_info("Iteration %d clear dirty log time: %ld.%.9lds\n", in run_test()
248 iteration, ts_diff.tv_sec, ts_diff.tv_nsec); in run_test()
258 WRITE_ONCE(iteration, -1); in run_test()
276 pr_info("Get dirty log over %lu iterations took %ld.%.9lds. (Avg %ld.%.9lds/iteration)\n", in run_test()
282 pr_info("Clear dirty log over %lu iterations took %ld.%.9lds. (Avg %ld.%.9lds/iteration)\n", in run_test()
300 printf(" -i: specify iteration counts (default: %"PRIu64")\n", in help()