Function report |
Source Code:lib\objagg.c |
Create Date:2022-07-28 07:23:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bjagg_stats_get - obtains stats of the objagg instance*@objagg: objagg instance* Note: all locking must be provided by the caller.* The returned structure contains statistics of all object* currently in use, ordered by following rules:
Proto:const struct objagg_stats *objagg_stats_get(struct objagg *objagg)
Type:struct objagg_stats
Parameter:
Type | Parameter | Name |
---|---|---|
struct objagg * | objagg |
610 | objagg_stats = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
612 | If Not objagg_stats Then Return ERR_PTR( - ENOMEM) |
615 | i = 0 |
617 | No 3D Now!( & stats, & stats, size of stats ) |
619 | associated object = objagg_obj |
620 | is_root = objagg_obj_is_root(objagg_obj) |
622 | If is_root Then root_count++ |
624 | i++ |
626 | stats_info_count = i |
628 | sort(stats_info, stats_info_count, sizeof(structobjagg_obj_stats_info), objagg_stats_info_sort_cmp_func, NULL) |
632 | Return objagg_stats |
Name | Describe |
---|---|
check_stats_nodelta | |
check_expect_stats | |
pr_debug_stats | |
check_stats_zero |
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 |