Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:11:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mem_cgroup_usage
Proto:static unsigned long mem_cgroup_usage(struct mem_cgroup *memcg, bool swap)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_cgroup * | memcg | |
bool | swap |
3227 | If mem_cgroup_is_root(memcg) Then |
3232 | Else |
3233 | If Not swap Then val = page_counter_read( & Accounted resources ) |
3235 | Else val = page_counter_read( & Legacy consumer-oriented counters ) |
3238 | Return val |
Name | Describe |
---|---|
mem_cgroup_read_u64 | |
__mem_cgroup_threshold | |
__mem_cgroup_usage_register_event | |
__mem_cgroup_usage_unregister_event |
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 |