Function report |
Source Code:kernel\latencytop.c |
Create Date:2022-07-28 11:50:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:account_global_scheduler_latency
Proto:static void __sched account_global_scheduler_latency(struct task_struct *tsk, struct latency_record *lat)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk | |
struct latency_record * | lat |
89 | firstnonnull = MAXLR + 1 |
93 | If Not mm Then Return |
97 | same = 1 |
100 | If Not backtrace[0] Then |
101 | If firstnonnull > i Then firstnonnull = i |
103 | Continue |
105 | When q < LT_BACKTRACEDEPTH cycle |
117 | If same Then |
126 | i = firstnonnull |
131 | No 3D Now!( & latency_record[i], lat, size of latency_record ) |
Name | Describe |
---|---|
__account_scheduler_latency | __account_scheduler_latency - record an occurred latency*@tsk - the task struct of the task hitting the latency*@usecs - the duration of the latency in microseconds*@inter - 1 if the sleep was interruptible, 0 if uninterruptible* This function is the main |
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 |