Home
last modified time | relevance | path

Searched refs:thread1 (Results 1 – 3 of 3) sorted by relevance

/spdk/test/scheduler/
H A Dload_balancing.sh31 thread1=$(create_thread -n "thread1" -m "$(mask_cpus "${selected_cpus[@]}")" -a 100)
56 if ((thread != thread0 && thread != thread1)); then
77 destroy_thread "$thread1"
84 printf 'Thread %u (%s) cpus: %s\n' "$thread1" "${thread_map[thread1]}" "${thread1_cpus[*]:-none}"
164 thread1=$(create_thread -n "thread1" -a 90)
171 ((thread_cpus[thread0] == spdk_main_core || thread_cpus[thread1] == spdk_main_core))
172 ((thread_cpus[thread0] != thread_cpus[thread1]))
183 ((thread_cpus[thread1] != spdk_main_core))
185 ((thread_cpus[thread0] != thread_cpus[thread1]))
190 active_thread "$thread1" 10
[all …]
/spdk/test/unit/lib/event/reactor.c/
H A Dreactor_ut.c340 struct spdk_thread *thread1, *thread2; in test_reactor_stats() local
348 * Create thread1 and thread2 simultaneously on reactor0 at TSC = 100. in test_reactor_stats()
350 * - thread1 for 100 with busy in test_reactor_stats()
352 * - thread1 for 300 with idle in test_reactor_stats()
355 * - both elapsed TSC of thread1 and thread2 should be 1100 (= 100 + 1000). in test_reactor_stats()
360 * Create thread1 on reactor0 at TSC = 2000. in test_reactor_stats()
362 * - thread1 for 100 with busy in test_reactor_stats()
364 * - elapsed TSC of thread1 should be 2100 (= 2000+ 100). in test_reactor_stats()
384 thread1 = spdk_thread_create(NULL, &cpuset); in test_reactor_stats()
385 SPDK_CU_ASSERT_FATAL(thread1 ! in test_reactor_stats()
[all...]
/spdk/test/unit/lib/thread/thread.c/
H A Dthread_ut.c1332 struct spdk_thread *thread1, *thread2; in device_unregister_and_thread_exit_race()
1338 thread1 = spdk_get_thread(); in device_unregister_and_thread_exit_race()
1339 SPDK_CU_ASSERT_FATAL(thread1 != NULL); in device_unregister_and_thread_exit_race()
1359 spdk_thread_exit(thread1); in device_unregister_and_thread_exit_race()
1367 CU_ASSERT(spdk_thread_is_exited(thread1) == false); in device_unregister_and_thread_exit_race()
1382 CU_ASSERT(spdk_thread_is_exited(thread1) == false); in dummy_poller()
1387 CU_ASSERT(spdk_thread_is_exited(thread1) == true); in cache_closest_timed_poller()
1318 struct spdk_thread *thread1, *thread2; device_unregister_and_thread_exit_race() local