Function report |
Source Code:kernel\sched\idle.c |
Create Date:2022-07-28 09:37:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:play_idle_precise
Proto:void play_idle_precise(u64 duration_ns, u64 latency_ns)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| u64 | duration_ns | |
| u64 | latency_ns |
| 328 | WARN_ON_ONCE(policy != SCHED_FIFO) |
| 329 | WARN_ON_ONCE(nr_cpus_allowed != 1) |
| 330 | WARN_ON_ONCE(!(flags & I am a kernel thread )) |
| 332 | WARN_ON_ONCE(!duration_ns) |
| 334 | rcu_sleep_check() |
| 336 | flags |= I am an IDLE thread |
| 339 | done = 0 |
| 341 | function = idle_inject_timer_fn |
| 348 | cpuidle_use_deepest_state(0) |
| 349 | flags &= ~I am an IDLE thread |
| 352 | preempt_enable() |
| Name | Describe |
|---|---|
| play_idle |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |