Home
last modified time | relevance | path

Searched full:preemptive (Results 1 – 25 of 61) sorted by relevance

123

/Zephyr-latest/tests/benchmarks/thread_metric/src/
Dtm_preemptive_scheduling_test.c16 /** Preemptive Scheduling Test */
33 /* This file defines the preemptive scheduling test. */
79 /* Define the preemptive scheduling test initialization. */
105 /* Define the first preemptive thread. */
126 /* Define the second preemptive thread. */
151 /* Define the third preemptive thread. */
176 /* Define the fourth preemptive thread. */
201 /* Define the fifth preemptive thread. */
218 /* Define the preemptive test reporting function. */
242 printf("**** Thread-Metric Preemptive Scheduling Test **** Relative Time: %lu\n", in tm_preemptive_thread_report()
[all …]
/Zephyr-latest/tests/kernel/sched/schedule_api/src/
Dtest_sched_priority.c73 * @brief Validate preemptiveness of preemptive thread
75 * @details Create a preemptive thread which is of priority
76 * lower than current thread. Current thread is made has preemptive.
78 * preemptive thread which is of priority higher than current
115 * @brief Validate scheduling sequence of preemptive threads with start delay
117 * @details Create four preemptive threads which are of priority
Dtest_priority_scheduling.c60 * @brief Check the behavior of preemptive threads with different priorities
62 * @details Create multiple threads of different priorities - all are preemptive,
63 * current thread is also made preemptive. Check how the threads get chance to
Dtest_sched_timeslice_reset.c94 /** TESTPOINT: timeslice should be reset for each preemptive thread */ in thread_time_slice()
115 * @brief Check the behavior of preemptive threads when the
118 * @details Create multiple preemptive threads with few different
163 /* create delayed threads with equal preemptive priority */ in ZTEST()
Dtest_slice_scheduling.c81 * @brief Check the behavior of preemptive threads when the
84 * @details Create multiple preemptive threads with same priorities
104 /* create threads with equal preemptive priority */ in ZTEST()
Dtest_sched_timeslice_and_lock.c238 * @brief Validate preemptive thread behavior with time slice
273 * @brief Check the behavior of preemptive thread with k_busy_wait()
309 * @brief Lock the scheduler when preemptive threads are running
380 * @details In a preemptive thread, lock the scheduler twice and
Dtest_sched_is_preempt_thread.c58 * @details Create a preemptive thread, lock the scheduler
/Zephyr-latest/tests/benchmarks/thread_metric/
DKconfig69 bool "Preemptive context switching"
71 The preemptive context switching benchmark creates five (5) threads
Dtestcase.yaml50 benchmark.thread_metric.preemptive:
Dthread_metric_readme.txt29 1.3. Preemptive Scheduling Test
115 tm_preemptive_scheduling_test.c Preemptive scheduling test
/Zephyr-latest/doc/kernel/services/scheduling/
Dindex.rst55 cooperative threads and preemptive threads.
151 Preemptive Time Slicing
154 Once a preemptive thread becomes the current thread, it remains
157 Consequently, if a preemptive thread performs lengthy computations,
162 .. image:: preemptive.svg
165 To overcome such problems, a preemptive thread can perform cooperative
183 Threads with a priority higher than specified limit are exempt from preemptive
185 This allows an application to use preemptive time slicing
255 Use preemptive threads to give priority to time-sensitive processing
/Zephyr-latest/samples/bluetooth/mesh_provisioner/
Dprj.conf4 # The Bluetooth API should not be used from a preemptive thread:
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/
Dticker.c67 /* TODO: scheduler lock, if preemptive threads used */ in hal_ticker_instance0_sched()
175 /* TODO: scheduler lock, if preemptive threads used */ in hal_ticker_instance0_sched()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/
Dticker.c68 /* TODO: scheduler lock, if preemptive threads used */ in hal_ticker_instance0_sched()
177 /* TODO: scheduler lock, if preemptive threads used */ in hal_ticker_instance0_sched()
/Zephyr-latest/drivers/ethernet/
DKconfig.stm32_hal54 Switching between preemptive and cooperative scheduling can be done by
56 Preemptive scheduling can lead to more responsive handling of network traffic,
/Zephyr-latest/dts/bindings/ipc/
Dzephyr,ipc-openamp-static-vrings.yaml37 PRIO_PREEMPT for preemptive).
/Zephyr-latest/arch/x86/core/ia32/
Dfloat.c13 * in a thread's stack region when a preemptive context switch occurs.
17 * safely by one or more cooperative threads OR by a single preemptive thread,
176 /* Ensure a preemptive context switch does not occur */ in z_float_enable()
273 /* Ensure a preemptive context switch does not occur */ in z_float_disable()
/Zephyr-latest/include/zephyr/posix/
Dsched.h28 /* Priority based preemptive scheduling policy */
/Zephyr-latest/doc/introduction/
Dindex.rst58 non-preemptive, and preemptive threads with optional round robin
79 * Cooperative and Preemptive Scheduling
/Zephyr-latest/arch/arc/core/
Dthread.c249 /* Ensure a preemptive context switch does not occur */ in arch_float_disable()
266 /* Ensure a preemptive context switch does not occur */ in arch_float_enable()
308 /* Ensure a preemptive context switch does not occur */ in arc_dsp_disable()
319 /* Ensure a preemptive context switch does not occur */ in arc_dsp_enable()
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v1/timer_synchronization/
DREADME.rst11 The main thread creates a preemptive thread which writes message to message queue
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v2/timer_synchronization/
DREADME.rst11 The main thread creates a preemptive thread which writes message to message queue
/Zephyr-latest/tests/kernel/threads/thread_apis/src/
Dtest_threads_suspend_resume.c62 * preemptive thread
65 * thread which is preemptive and suspend it, make sure it doesn't gets
Dtest_threads_cancel_abort.c134 /* Make current thread preemptive */ in ZTEST()
137 /* Create a preemptive thread of higher priority than in ZTEST()
/Zephyr-latest/tests/lib/multi_heap/src/
Dtest_mheap_concept.c68 * @details Test creates three preemptive threads of equal priority.

123