Function report |
Source Code:kernel\cgroup\rstat.c |
Create Date:2022-07-28 11:11:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cgroup_base_stat_flush
Proto:static void cgroup_base_stat_flush(struct cgroup *cgrp, int cpu)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cgroup * | cgrp | |
| int | cpu |
| 325 | parent = cgroup_parent(cgrp) |
| 326 | rstatc = cgroup_rstat_cpu(cgrp, cpu) |
| 331 | Do |
| 334 | When __u64_stats_fetch_retry( & ->bsync protects ->bstat. These are the only fields which get* updated in the hot path., seq) cycle |
| 338 | cgroup_base_stat_sub( & delta, & Snapshots at the last reading. These are used to calculate the* deltas to propagate to the global counters.) |
| 343 | If parent Then |
| Name | Describe |
|---|---|
| cgroup_rstat_flush_locked | see cgroup_rstat_flush() |
| 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 |