Searched refs:sstats (Results 1 – 2 of 2) sorted by relevance
87 struct sysinfo sstats; in main() local150 sysinfo(&sstats); in main()151 total_ram = sstats.totalram + sstats.totalswap; in main()152 total_free = sstats.freeram + sstats.freeswap; in main()154 pre_mem = sstats.mem_unit * total_free; in main()162 C = sstats.mem_unit * (total_ram - total_free); in main()170 D = percent * (sstats.mem_unit * total_ram); in main()282 sysinfo(&sstats); in main()287 (unsigned long long)sstats.mem_unit * in main()288 sstats.freeram; in main()[all …]
56 static void ctl_arena_stats_smerge(ctl_arena_stats_t *sstats,588 ctl_arena_stats_smerge(ctl_arena_stats_t *sstats, ctl_arena_stats_t *astats) in ctl_arena_stats_smerge() argument592 sstats->nthreads += astats->nthreads; in ctl_arena_stats_smerge()593 sstats->pactive += astats->pactive; in ctl_arena_stats_smerge()594 sstats->pdirty += astats->pdirty; in ctl_arena_stats_smerge()597 sstats->astats.mapped += astats->astats.mapped; in ctl_arena_stats_smerge()598 sstats->astats.retained += astats->astats.retained; in ctl_arena_stats_smerge()599 sstats->astats.npurge += astats->astats.npurge; in ctl_arena_stats_smerge()600 sstats->astats.nmadvise += astats->astats.nmadvise; in ctl_arena_stats_smerge()601 sstats->astats.purged += astats->astats.purged; in ctl_arena_stats_smerge()[all …]