Searched refs:vcpu_threads (Results 1 – 2 of 2) sorted by relevance
367 pthread_t *vcpu_threads; in run_test() local376 vcpu_threads = malloc(nr_vcpus * sizeof(*vcpu_threads)); in run_test()377 TEST_ASSERT(vcpu_threads, "Memory allocation failed"); in run_test()383 pthread_create(&vcpu_threads[vcpu_id], NULL, vcpu_worker, in run_test()433 pthread_join(vcpu_threads[vcpu_id], NULL); in run_test()441 free(vcpu_threads); in run_test()
31 static struct vcpu_thread vcpu_threads[KVM_MAX_VCPUS]; variable229 struct vcpu_thread *vcpu = &vcpu_threads[vcpu_id]; in perf_test_start_vcpu_threads()238 while (!READ_ONCE(vcpu_threads[vcpu_id].running)) in perf_test_start_vcpu_threads()250 pthread_join(vcpu_threads[vcpu_id].thread, NULL); in perf_test_join_vcpu_threads()
Completed in 7 milliseconds