Searched defs:sstats (Results 1 - 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/mem/mtest01/
H A Dmtest01.c87 struct sysinfo sstats; local
150 sysinfo(&sstats);
151 total_ram = sstats.totalram + sstats.totalswap;
152 total_free = sstats.freeram + sstats.freeswap;
154 pre_mem = sstats.mem_unit * total_free;
155 max_pids = total_ram * sstats.mem_unit
163 C = sstats.mem_unit * (total_ram - total_free);
171 D = percent * (sstats
[all...]
/external/jemalloc/src/
H A Dctl.c56 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) argument
592 sstats->nthreads += astats->nthreads;
593 sstats->pactive += astats->pactive;
594 sstats->pdirty += astats->pdirty;
597 sstats->astats.mapped += astats->astats.mapped;
598 sstats->astats.retained += astats->astats.retained;
599 sstats->astats.npurge += astats->astats.npurge;
600 sstats->astats.nmadvise += astats->astats.nmadvise;
601 sstats
662 ctl_arena_stats_t *sstats = &ctl_stats.arenas[ctl_stats.narenas]; local
[all...]

Completed in 110 milliseconds