Home
last modified time | relevance | path

Searched full:yield (Results 1 – 25 of 88) sorted by relevance

1234

/Zephyr-latest/tests/lib/sys_util/src/
Dmain.c27 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/
Dthread_apis.c15 /* 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/
Dfixtures.py37 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/
Dnxp,imx8ulp-pinctrl.yaml29 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/
Dconftest.py58 yield bus
66 yield bus
/Zephyr-latest/scripts/tests/twister_blackbox/
Dconftest.py73 yield
82 yield out_path
/Zephyr-latest/tests/kernel/fpu_sharing/float_disable/src/
Dk_float_disable.c80 /* 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/
DREADME.rst18 average time taken for a yield context switch.
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/
Dthread_apis.c13 /* 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/
Dmain.c32 /* yield briefly to logging thread */ in ZTEST()
/Zephyr-latest/include/zephyr/xen/public/
Dsched.h38 * 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/
DREADME.rst61 …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/
Dconftest.py54 yield device
/Zephyr-latest/include/zephyr/posix/
Dsched.h39 * @brief Yield the processor
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dconftest.py120 yield Endpoint(ep, shell)
160 yield Endpoint(ep, shell)
198 yield endpoint_registered
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/device/
Dqemu_adapter_test.py23 yield device
Dbinary_adapter_test.py35 yield device
47 yield device
/Zephyr-latest/tests/benchmarks/thread_metric/
DKconfig27 of equal priority that yield to each other and increment counters
/Zephyr-latest/subsys/testsuite/ztest/
DKconfig103 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/
Dtest_threads_cpu_mask.c87 * immediately when we yield. Check to see if it ran. in ZTEST()
/Zephyr-latest/scripts/ci/
Dpylintrc90 yield-outside-function,
166 yield-inside-async-function,
/Zephyr-latest/tests/kernel/context/src/
Dmain.c717 /* 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/
Dvishay,vcnl36825t.yaml32 Higher values yield lower power consumption.
/Zephyr-latest/kernel/
Didle.c85 * explicitly yield in the idle thread otherwise in idle()
Dwork.c219 * 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()

1234