Function report |
Source Code:kernel\time\hrtimer.c |
Create Date:2022-07-28 10:40:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:A timer is active, when it is enqueued into the rbtree or the* callback function is running or it's in the state of being migrated* to another cpu.* It is important for this function to not return a false negative.
Proto:bool hrtimer_active(const struct hrtimer *timer)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
const struct hrtimer * | timer |
1444 | Do |
1455 | Return false |
Name | Describe |
---|---|
task_non_contending | The utilization of a task cannot be immediately removed from* the rq active utilization (running_bw) when the task blocks |
sched_dl_overflow | We must be sure that accepting a new task (or allowing changing the* parameters of an existing one) is consistent with the bandwidth* constraints. If yes, this function also accordingly updates the currently |
hrtimer_try_to_cancel | hrtimer_try_to_cancel - try to deactivate a timer*@timer: hrtimer to stop* Returns:* * 0 when the timer was not active* * 1 when the timer was active* * -1 when the timer is currently executing the callback function and* cannot be stopped |
itimer_get_remtime | mer_get_remtime - get remaining time for the timer*@timer: the timer to read* Returns the delta between the expiry time and now, which can be* less than zero or 1usec for an pending expired timer |
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 |