Home
last modified time | relevance | path

Searched refs:threads (Results 1 – 25 of 206) sorted by relevance

123456789

/openbmc/qemu/hw/core/
H A Dmachine-smp.c59 g_string_append_printf(s, " * threads (%u)", ms->smp.threads); in cpu_hierarchy_to_string()
97 unsigned threads = config->has_threads ? config->threads : 0; in machine_parse_smp_config() local
113 (config->has_threads && config->threads == 0) || in machine_parse_smp_config()
168 threads = threads > 0 ? threads : 1; in machine_parse_smp_config()
176 threads = threads > 0 ? threads : 1; in machine_parse_smp_config()
179 modules * cores * threads); in machine_parse_smp_config()
181 threads = threads > 0 ? threads : 1; in machine_parse_smp_config()
184 clusters * modules * threads); in machine_parse_smp_config()
190 threads = threads > 0 ? threads : 1; in machine_parse_smp_config()
193 clusters * modules * threads); in machine_parse_smp_config()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/tiobench/tiobench-0.3.3/
H A Davoid-glibc-clashes.patch38 pthread_attr_setscope(&(d->threads[i].thread_attr),
41 - d->threads[i].buffer = aligned_alloc( d->threads[i].blockSize );
42 + d->threads[i].buffer = _aligned_alloc( d->threads[i].blockSize );
43 if( d->threads[i].buffer == NULL )
49 unlink(d->threads[i].fileName);
50 - aligned_free( d->threads[i].buffer, d->threads[i].blockSize );
51 + _aligned_free( d->threads[i].buffer, d->threads[i].blockSize );
52 d->threads[i].buffer = 0;
54 pthread_attr_destroy( &(d->threads[i].thread_attr) );
/openbmc/qemu/tests/qtest/
H A Dcpu-plug-test.c22 unsigned threads; member
38 "-smp 1,sockets=%u,cores=%u,threads=%u,maxcpus=%u", in test_plug_with_device_add()
40 td->sockets, td->cores, td->threads, td->maxcpus); in test_plug_with_device_add()
96 data->threads = 2; in add_pc_test_case()
97 data->maxcpus = data->sockets * data->cores * data->threads; in add_pc_test_case()
101 data->threads, data->maxcpus); in add_pc_test_case()
122 data->threads = 1; in add_pseries_test_case()
123 data->maxcpus = data->sockets * data->cores * data->threads; in add_pseries_test_case()
127 data->threads, data->maxcpus); in add_pseries_test_case()
148 data->threads in add_s390x_test_case()
[all...]
/openbmc/qemu/tests/migration-stress/guestperf/
H A Dplot.py151 threads = {}
153 if record._tid in threads:
155 threads[record._tid] = {
172 threads[record._tid]["xaxis"].append(record._timestamp - starttime)
173 threads[record._tid]["yaxis"].append(record._value)
174 threads[record._tid]["labels"].append(self._get_progress_label(progress))
179 for tid in threads.keys():
181 go.Scatter(x=threads[tid]["xaxis"],
182 y=threads[tid]["yaxis"],
191 text=threads[tid]["labels"]))
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-aio-multithread.c24 static IOThread *threads[NUM_CONTEXTS]; variable
71 threads[i] = iothread_new(); in create_aio_contexts()
72 ctx[i] = iothread_get_aio_context(threads[i]); in create_aio_contexts()
91 iothread_join(threads[i]); in join_aio_contexts()
226 static void test_multi_co_mutex(int threads, int seconds) in test_multi_co_mutex() argument
236 assert(threads <= NUM_CONTEXTS); in test_multi_co_mutex()
237 running = threads; in test_multi_co_mutex()
238 for (i = 0; i < threads; i++) { in test_multi_co_mutex()
255 /* Testing with NUM_CONTEXTS threads focuses on the queue. The mutex however
256 * is too contended (and the threads spen
347 test_multi_fair_mutex(int threads,int seconds) test_multi_fair_mutex() argument
403 test_multi_mutex(int threads,int seconds) test_multi_mutex() argument
[all...]
/openbmc/qemu/tests/tcg/multiarch/
H A Dthreadcount.c39 pthread_t *threads; in main() local
44 threads = calloc(sizeof(pthread_t), max_threads); in main()
49 pthread_create(threads + i, NULL, thread_fn, arg); in main()
58 pthread_join(threads[i], NULL); in main()
H A Dvma-pthread.c159 pthread_t threads[5]; in main() local
183 ret = pthread_create(&threads[0], NULL, thread_read, &ctx); in main()
185 ret = pthread_create(&threads[1], NULL, thread_write, &ctx); in main()
187 ret = pthread_create(&threads[2], NULL, thread_execute, &ctx); in main()
190 ret = pthread_create(&threads[i], NULL, thread_mutate, &ctx); in main()
195 for (i = 0; i < sizeof(threads) / sizeof(threads[0]); i++) { in main()
196 ret = pthread_join(threads[i], NULL); in main()
H A Dsignals.c56 static pthread_t *threads; variable
77 threads = calloc(sizeof(pthread_t), max_threads); in spawn_threads()
84 pthread_create(threads + i, NULL, background_thread_func, job); in spawn_threads()
92 pthread_join(threads[i], NULL); in close_threads()
94 free(threads); in close_threads()
95 threads = NULL; in close_threads()
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/
H A Dfix-gettid-exception-declaration.patch5 --- a/system/core/libcutils/include/cutils/threads.h
6 +++ b/system/core/libcutils/include/cutils/threads.h
16 --- a/system/core/libcutils/threads.cpp
17 +++ b/system/core/libcutils/threads.cpp
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/
H A Dfix-gettid-exception-declaration.patch5 --- a/system/core/libcutils/include/cutils/threads.h
6 +++ b/system/core/libcutils/include/cutils/threads.h
16 --- a/system/core/libcutils/threads.cpp
17 +++ b/system/core/libcutils/threads.cpp
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libmxml/
H A Dlibmxml_4.0.4.bb14 PACKAGECONFIG ??= "threads"
15 PACKAGECONFIG[threads] = "--enable-threads,--disable-threads"
/openbmc/qemu/subprojects/libvhost-user/
H A Dmeson.build11 threads = dependency('threads') variable
16 dependencies: threads,
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/freeradius/files/
H A D0010-fix-error-for-expansion-of-macro-in-thread.h.patch21 src/include/threads.h | 10 +++++-----
24 diff --git a/src/include/threads.h b/src/include/threads.h
26 --- a/src/include/threads.h
27 +++ b/src/include/threads.h
/openbmc/qemu/tests/bench/
H A Datomic64-bench.c21 static QemuThread *threads; variable
88 qemu_thread_join(&threads[i]); in run_test()
96 threads = g_new(QemuThread, n_threads); in create_threads()
105 qemu_thread_create(&threads[i], NULL, thread_func, info, in create_threads()
H A Datomic_add-bench.c16 static QemuThread *threads; variable
91 qemu_thread_join(&threads[i]); in run_test()
99 threads = g_new(QemuThread, n_threads); in create_threads()
111 qemu_thread_create(&threads[i], NULL, thread_func, info, in create_threads()
/openbmc/qemu/migration/
H A Dmultifd-device-state.c26 ThreadPool *threads; member
39 multifd_send_device_state->threads = thread_pool_new(); in multifd_device_state_send_setup()
45 g_clear_pointer(&multifd_send_device_state->threads, thread_pool_free); in multifd_device_state_send_cleanup()
190 thread_pool_submit_immediate(multifd_send_device_state->threads, in multifd_spawn_device_state_save_thread()
209 thread_pool_wait(multifd_send_device_state->threads); in multifd_join_device_state_save_threads()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/iozone3/iozone3/
H A Dparallelism.patch23 # GNU 'C' compiler Linux build with threads, largefiles, async I/O
32 # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O
41 # GNU 'C' compiler Linux build for sparc chip with threads, largefiles, async I/O
50 # GNU 'C' compiler Linux build with threads, largefiles, async I/O
59 # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O
68 # GNU 'C' compiler Linux build with threads, largefiles, async I/O
77 # GNU 'C' compiler Linux build with threads, largefiles, async I/O
86 # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O
95 # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O
/openbmc/qemu/hw/ppc/
H A Dspapr_cpu_core.c222 spapr_reset_vcpu(sc->threads[i]); in spapr_cpu_core_reset()
250 if (sc->threads[i]) { in spapr_cpu_core_unrealize()
256 if (qdev_is_realized(DEVICE(sc->threads[i]))) { in spapr_cpu_core_unrealize()
257 spapr_unrealize_vcpu(sc->threads[i], sc); in spapr_cpu_core_unrealize()
259 spapr_delete_vcpu(sc->threads[i]); in spapr_cpu_core_unrealize()
262 g_free(sc->threads); in spapr_cpu_core_unrealize()
355 sc->threads = g_new0(PowerPCCPU *, cc->nr_threads); in spapr_cpu_core_realize()
360 sc->threads[i] = cpu; in spapr_cpu_core_realize()
/openbmc/qemu/util/
H A Doslib-posix.c74 struct MemsetThread *threads; member
348 MemsetThread *thread = &sigbus_memset_context->threads[i]; in sigbus_handler()
359 * should never receive BUS_MCEERR_AO on any of our threads, but only on in sigbus_handler()
361 * receive BUS_MCEERR_AR triggered by action of other threads on one of in sigbus_handler()
362 * our threads. So, no need to check for unrelated SIGBUS when seeing one in sigbus_handler()
363 * for our threads. in sigbus_handler()
386 * clearing until all threads have been created. in do_touch_pages()
453 /* Especially with gigantic pages, don't create more threads than pages. */ in get_memset_num_threads()
455 /* Don't start threads to prealloc comparatively little memory. */ in wait_and_free_mem_prealloc_context()
467 tmp = (uintptr_t)qemu_thread_join(&context->threads[ in wait_and_free_mem_prealloc_context()
[all...]
/openbmc/qemu/tests/tcg/multiarch/gdbstub/
H A Dinterrupt.py49 if len(gdb.selected_inferior().threads()) == 1:
54 for thread in gdb.selected_inferior().threads():
/openbmc/u-boot/doc/
H A DREADME.sched24 applications must invoke thread_yield() to allow other threads to
36 - Only seven threads are allowed. These can be easily increased by
48 threads implementations.
50 - There is no parent-child relationship between threads. Only one
/openbmc/openbmc/poky/meta/recipes-devtools/dnf/dnf/
H A D0001-lock.py-fix-Exception-handling.patch12 rootfs, seems like some threads don't do chroot like work, some threads
13 do chroot like work. so for the threads don't do chroot, "Permission denied"
14 Exception happend, for the threads that do chroot, log_lock.pid will be
/openbmc/google-misc/subprojects/nemora-postd/
H A Dmeson.build25 threads = dependency('threads') variable
55 threads,
/openbmc/openbmc/meta-yadro/meta-nicole/recipes-phosphor/host/op-proc-control/
H A D0001-Stop-and-send-SRESET-for-one-thread-only.patch8 Stopping all threads leads to errors in skiboot:
15 Sending SRESET to all threads causes kernel panic:
46 - log<level::ERR>("Failed to sreset all threads");
/openbmc/libmctp/docs/
H A Dfuzzing.md11 threads itself with a single corpus directory, which is easy to work with. It
27 Optionally a thread count can be given, 24 threads on a 12 core system seems to
28 give best utilisation (`--threads 24`).
43 Running with 20 threads:

123456789