Function report |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-28 09:38:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:update_stats_wait_end
Proto:static inline void update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cfs_rq * | cfs_rq | |
struct sched_entity * | se |
896 | If Not schedstat_enabled() Then Return |
899 | delta = rq_clock(rq_of(cfs_rq)) - schedstat_val(wait_start) |
901 | If entity_is_task(se) Then |
903 | If task_on_rq_migrating(p) Then |
909 | __schedstat_set(wait_start, delta) |
910 | Return |
915 | __schedstat_set(wait_max, max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(schedstat_val(wait_max), delta)) |
918 | __schedstat_add(wait_sum, delta) |
919 | __schedstat_set(wait_start, 0) |
Name | Describe |
---|---|
update_stats_dequeue | |
set_next_entity |
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 |