/Zephyr-latest/tests/lib/sys_util/src/ |
D | main.c | 27 zassert_true(WAIT_FOR(true, 0, k_yield()), "true, no wait, yield"); in ZTEST() 28 zassert_false(WAIT_FOR(false, 0, k_yield()), "false, no wait, yield"); in ZTEST() 29 zassert_true(WAIT_FOR(true, 1, k_yield()), "true, 1usec, yield"); in ZTEST() 30 zassert_false(WAIT_FOR(false, 1, k_yield()), "false, 1usec, yield"); in ZTEST() 31 zassert_true(WAIT_FOR(true, 1000, k_yield()), "true, 1msec, yield"); in ZTEST() 36 zassert_false(WAIT_FOR(false, 1000, k_yield()), "true, 1msec, yield"); in ZTEST()
|
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v1/src/ |
D | thread_apis.c | 15 /* This is used to check the thread yield functionality between 2 threads */ 32 /* Yield to thread2 which is of same priority */ in thread1() 34 zassert_true(status == osOK, "Error doing thread yield"); in thread1() 46 * confirm that the yield was indeed executed. in thread2() 50 /* Yield back to thread1 which is of same priority */ in thread2()
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/ |
D | fixtures.py | 37 yield device_object 53 yield device_object 63 yield device_object 94 yield MCUmgr.create_for_serial(dut.device_config.serial)
|
/Zephyr-latest/dts/bindings/pinctrl/ |
D | nxp,imx8ulp-pinctrl.yaml | 29 output buffer can yield. If "normal" drive strength is used, 41 maximum frequency the pad's output buffer can yield (
|
/Zephyr-latest/tests/drivers/can/host/pytest/ |
D | conftest.py | 58 yield bus 66 yield bus
|
/Zephyr-latest/scripts/tests/twister_blackbox/ |
D | conftest.py | 73 yield 82 yield out_path
|
/Zephyr-latest/tests/kernel/fpu_sharing/float_disable/src/ |
D | k_float_disable.c | 80 /* Yield will swap-in usr_fp_thread */ in ZTEST() 129 /* Yield will swap-in usr_fp_thread */ in ZTEST() 138 /* Yield will swap-in usr_fp_thread */ in ZTEST() 268 /* Yield will swap-in sup_fp_thread */ in ZTEST()
|
/Zephyr-latest/tests/benchmarks/sched_userspace/ |
D | README.rst | 18 average time taken for a yield context switch.
|
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | thread_apis.c | 13 /* This is used to check the thread yield functionality between 2 threads */ 55 /* Yield to thread2 which is of same priority */ in thread1() 57 zassert_true(status == osOK, "Error doing thread yield"); in thread1() 75 * confirm that the yield was indeed executed. in thread2() 107 /* Yield back to thread1 which is of same priority */ in thread2()
|
/Zephyr-latest/tests/posix/xsi_system_logging/src/ |
D | main.c | 32 /* yield briefly to logging thread */ in ZTEST()
|
/Zephyr-latest/include/zephyr/xen/public/ |
D | sched.h | 38 * with the scheduler, including yield, blocking and shutting itself 51 * of this hypercall, supporting only the commands yield, block and shutdown: 62 * Voluntarily yield the CPU.
|
/Zephyr-latest/tests/benchmarks/latency_measure/ |
D | README.rst | 61 …thread.yield.preemptive.ctx.k_to_k - Context switch via k_yield : … 62 …thread.yield.cooperative.ctx.k_to_k - Context switch via k_yield : … 114 …thread.yield.preemptive.ctx.k_to_k - Context switch via k_yield : … 115 …thread.yield.cooperative.ctx.k_to_k - Context switch via k_yield : … 171 …thread.yield.preemptive.ctx.k_to_k - Context switch via k_yield : … 172 …thread.yield.cooperative.ctx.k_to_k - Context switch via k_yield : … 230 …thread.yield.preemptive.ctx.k_to_k - Context switch via k_yield : … 231 …thread.yield.preemptive.ctx.u_to_u - Context switch via k_yield : … 232 …thread.yield.preemptive.ctx.k_to_u - Context switch via k_yield : … 233 …thread.yield.preemptive.ctx.u_to_k - Context switch via k_yield : … [all …]
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/ |
D | conftest.py | 54 yield device
|
/Zephyr-latest/include/zephyr/posix/ |
D | sched.h | 39 * @brief Yield the processor
|
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/ |
D | conftest.py | 120 yield Endpoint(ep, shell) 160 yield Endpoint(ep, shell) 198 yield endpoint_registered
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/device/ |
D | qemu_adapter_test.py | 23 yield device
|
D | binary_adapter_test.py | 35 yield device 47 yield device
|
/Zephyr-latest/tests/benchmarks/thread_metric/ |
D | Kconfig | 27 of equal priority that yield to each other and increment counters
|
/Zephyr-latest/subsys/testsuite/ztest/ |
D | Kconfig | 103 bool "Do not yield to the idle thread after tests complete" 105 When the tests complete, do not yield to the idle thread and instead
|
/Zephyr-latest/tests/kernel/threads/thread_apis/src/ |
D | test_threads_cpu_mask.c | 87 * immediately when we yield. Check to see if it ran. in ZTEST()
|
/Zephyr-latest/scripts/ci/ |
D | pylintrc | 90 yield-outside-function, 166 yield-inside-async-function,
|
/Zephyr-latest/tests/kernel/context/src/ |
D | main.c | 717 /* Test that helper will yield to a thread of equal priority */ in thread_helper() 723 k_yield(); /* Yield to thread of equal priority */ in thread_helper() 762 * Validate the thread is allowed to yield in k_yield_entry() 764 zassert_true(k_can_yield(), "Thread incorrectly detected it could not yield"); in k_yield_entry() 767 * Test that the thread will yield to the higher priority helper. in k_yield_entry() 773 "k_yield() did not yield to a higher priority thread: %d", in k_yield_entry() 777 "k_yield() did not yield to an equal priority thread: %d", in k_yield_entry()
|
/Zephyr-latest/dts/bindings/sensor/ |
D | vishay,vcnl36825t.yaml | 32 Higher values yield lower power consumption.
|
/Zephyr-latest/kernel/ |
D | idle.c | 85 * explicitly yield in the idle thread otherwise in idle()
|
D | work.c | 219 * will not be a reschedule point. Callers should yield after the lock is 364 /* Submit work to a queue but do not yield the current thread. 618 bool yield; in work_queue_main() local 689 * yield to prevent starving other threads. in work_queue_main() 702 yield = !flag_test(&queue->flags, K_WORK_QUEUE_NO_YIELD_BIT); in work_queue_main() 705 /* Optionally yield to prevent the work queue from in work_queue_main() 708 if (yield) { in work_queue_main()
|