/Zephyr-Core-2.7.6/subsys/net/lib/sntp/ |
D | sntp_simple.c | 17 uint64_t deadline; in sntp_simple() local 40 deadline = (uint64_t)timeout; in sntp_simple() 42 deadline = k_uptime_get() + (uint64_t)timeout; in sntp_simple() 48 while (k_uptime_get() < deadline) { in sntp_simple()
|
/Zephyr-Core-2.7.6/tests/unit/net_timeout/ |
D | main.c | 22 uint64_t deadline = nto->timer_start; 25 deadline += remaining; 30 remaining, deadline); 200 uint64_t deadline; in test_evaluate_basic() local 210 deadline = net_timeout_deadline(&nto, now); in test_evaluate_basic() 223 zassert_equal(net_timeout_deadline(&nto, now), deadline, in test_evaluate_basic() 238 zassert_equal(net_timeout_deadline(&nto, now), deadline, in test_evaluate_basic() 253 zassert_equal(net_timeout_deadline(&nto, now), deadline, in test_evaluate_basic() 269 zassert_equal(net_timeout_deadline(&nto, now), deadline, in test_evaluate_basic() 287 zassert_equal(net_timeout_deadline(&nto, now), deadline, in test_evaluate_basic() [all …]
|
/Zephyr-Core-2.7.6/lib/os/ |
D | p4wq.c | 21 th->base.prio_deadline = item->deadline; in set_prio() 33 if (aw->deadline != bw->deadline) { in rb_lessthan() 34 return aw->deadline - bw->deadline > 0; in rb_lessthan() 65 (a->deadline != b->deadline)) { in item_lessthan() 66 return a->deadline - b->deadline > 0; in item_lessthan() 225 item->deadline += k_cycle_get_32(); in k_p4wq_submit()
|
/Zephyr-Core-2.7.6/subsys/net/ip/ |
D | net_timeout.c | 48 uint64_t deadline; in net_timeout_deadline() local 57 deadline = start + timeout->timer_timeout; in net_timeout_deadline() 58 deadline += (uint64_t)NET_TIMEOUT_MAX_VALUE in net_timeout_deadline() 61 return (int64_t)deadline; in net_timeout_deadline()
|
D | dhcpv4.c | 466 int64_t deadline = start + MSEC_PER_SEC * time; in dhcpv4_get_timeleft() local 472 if (deadline > now) { in dhcpv4_get_timeleft() 473 ret = (uint32_t)ceiling_fraction(deadline - now, MSEC_PER_SEC); in dhcpv4_get_timeleft()
|
/Zephyr-Core-2.7.6/tests/lib/p4workq/src/ |
D | main.c | 43 item->item.deadline = sys_rand32_get() % k_ms_to_cyc_ceil32(2); in stress_sub() 155 item->deadline = k_us_to_cyc_ceil32(100); in add_new_item() 256 simple_item.deadline = 0; in test_p4wq_simple()
|
/Zephyr-Core-2.7.6/tests/kernel/sched/deadline/ |
D | CMakeLists.txt | 5 project(deadline) project
|
/Zephyr-Core-2.7.6/include/sys/ |
D | p4wq.h | 31 int32_t deadline; member
|
/Zephyr-Core-2.7.6/doc/reference/kernel/scheduling/ |
D | index.rst | 43 However, when both earliest-deadline-first scheduling is enabled 45 static priority, then the thread with the earlier deadline is considered 46 to have the higher priority. Thus, when earliest-deadline-first scheduling is 49 :c:func:`k_thread_deadline_set` is used to set a thread's deadline. 93 features make it incompatible with features like deadline scheduling that
|
/Zephyr-Core-2.7.6/kernel/ |
D | sched.c | 1206 void z_impl_k_thread_deadline_set(k_tid_t tid, int deadline) in z_impl_k_thread_deadline_set() argument 1211 thread->base.prio_deadline = k_cycle_get_32() + deadline; in z_impl_k_thread_deadline_set() 1220 static inline void z_vrfy_k_thread_deadline_set(k_tid_t tid, int deadline) in z_vrfy_k_thread_deadline_set() argument 1225 Z_OOPS(Z_SYSCALL_VERIFY_MSG(deadline > 0, in z_vrfy_k_thread_deadline_set() 1227 (int)deadline)); in z_vrfy_k_thread_deadline_set() 1229 z_impl_k_thread_deadline_set((k_tid_t)thread, deadline); in z_vrfy_k_thread_deadline_set()
|
D | Kconfig | 113 bool "Enable earliest-deadline-first scheduling" 115 This enables a simple "earliest deadline first" scheduling 116 mode where threads can set "deadline" deltas measured in 118 single priority will choose the next expiring deadline and 253 incompatible with features like deadline scheduling that
|
/Zephyr-Core-2.7.6/doc/reference/networking/ |
D | net_timeout.rst | 54 deadline of the timeout. This exists primarily for testing but may have use
|
/Zephyr-Core-2.7.6/drivers/timer/ |
D | Kconfig | 58 bool "Even newer APIC timer using TSC deadline mode" 64 deadline capability. The use of a free-running 64 bit 71 deadline capability.
|
/Zephyr-Core-2.7.6/doc/reference/kernel/threads/ |
D | workqueue.rst | 49 specifically allowing a previous deadline to remain unchanged when a work 262 delayable items, but if the queue is plugged and the deadline expires the 345 deadline should be extended if a new event occurs. An example is collecting 356 unconditionally sets the deadline for the work, replacing any previous 465 the deadline. 515 (for delayable work) if the deadline has completed but the work is still in
|
/Zephyr-Core-2.7.6/scripts/release/ |
D | twister_last_release.csv | 10333 tests/kernel/sched/deadline/kernel.scheduler.deadline,arc,hsdk,True,,,na,,0,0 10334 tests/kernel/sched/deadline/kernel.scheduler.deadline,arc,em_starterkit_em11d,True,,,na,,0,0 10335 tests/kernel/sched/deadline/kernel.scheduler.deadline,arc,em_starterkit_em7d_v22,True,,,na,,0,0 10336 tests/kernel/sched/deadline/kernel.scheduler.deadline,arc,em_starterkit_em7d,True,,,na,,0,0 10337 tests/kernel/sched/deadline/kernel.scheduler.deadline,arc,em_starterkit,True,,,na,,0,0 10338 tests/kernel/sched/deadline/kernel.scheduler.deadline,arc,em_starterkit_em7d_normal,True,,,na,,0,0 10339 tests/kernel/sched/deadline/kernel.scheduler.deadline,arc,nsim_sem_mpu_stack_guard,True,,,nsim,,0,0 10340 tests/kernel/sched/deadline/kernel.scheduler.deadline,arc,nsim_sem,True,,,nsim,,0,0 10341 tests/kernel/sched/deadline/kernel.scheduler.deadline,arc,nsim_hs_smp,True,,,nsim,,0,0 10342 tests/kernel/sched/deadline/kernel.scheduler.deadline,arc,nsim_em_mpu_stack_guard,True,,,nsim,,0,0 [all …]
|
/Zephyr-Core-2.7.6/include/ |
D | kernel.h | 764 __syscall void k_thread_deadline_set(k_tid_t thread, int deadline);
|
/Zephyr-Core-2.7.6/doc/releases/ |
D | release-notes-1.12.rst | 50 * kernel: Earliest-deadline-first scheduling policy
|
D | release-notes-2.6.rst | 1212 * :github:`35150` - [Coverity CID: 225136] Out-of-bounds write in tests/kernel/sched/deadline/src/m… 1990 * :github:`32000` - 2021 GSoC Call for Project Ideas - deadline Feb.19, 2021 12:00PM PST
|
D | release-notes-1.14.rst | 1693 * :github:`12541` - nrf timer handling exceeds bluetooth hard realtime deadline 2141 * :github:`9843` - tests/kernel/sched/deadline fails on NRF5x boards
|
D | release-notes-2.5.rst | 1114 * :github:`31508` - up_squared: tests/kernel/sched/deadline/ failed.
|
D | release-notes-2.7.rst | 2035 * :github:`36770` - doc:Missing description for deadline scheduling
|