Function report |
Source Code:kernel\time\timer.c |
Create Date:2022-07-28 10:40:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sleep_range - Sleep for an approximate time*@min: Minimum time in usecs to sleep*@max: Maximum time in usecs to sleep* In non-atomic context where the exact wakeup time is flexible, use* usleep_range() instead of udelay()
Proto:void __sched usleep_range(unsigned long min, unsigned long max)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | min | |
| unsigned long | max |
| 2081 | exp = ktime_add_us(ktime_get(), min) |
| 2082 | delta = (max - min) * NSEC_PER_USEC |
| 2084 | cycle |
| 2087 | If Not schedule_hrtimeout_range( & exp, delta, Time value is absolute) Then Break |
| Name | Describe |
|---|---|
| try_to_freeze_tasks |
| 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 |