Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:28:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hugetlb_report_node_meminfo
Proto:int hugetlb_report_node_meminfo(int nid, char *buf)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | nid | |
char * | buf |
3072 | h = default_hstate |
3073 | If Not hugepages_supported() Then Return 0 |
3075 | Return sprintf(buf, "Node %d HugePages_Total: %5u\nNode %d HugePages_Free: %5u\nNode %d HugePages_Surp: %5u\n", nid, nr_huge_pages_node[nid], nid, free_huge_pages_node[nid], nid, surplus_huge_pages_node[nid]) |
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 |