Function report |
Source Code:kernel\sched\cpuacct.c |
Create Date:2022-07-28 09:44:27 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cpuusage_write
Proto:static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, u64 val)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cgroup_subsys_state * | css | |
| struct cftype * | cft | |
| u64 | val |
| 197 | for_each_possible_cpu(cpu) |
| 198 | cpuacct_cpuusage_write(ca, cpu, 0) |
| 200 | Return 0 |
| 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 |