logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pmap_resident_count, pmap_wired_count — return page resident and wiring statistics

Authors

       This manual page was written by Bruce M Simpson <bms@spc.org>.

Debian                                            July 21, 2003                           PMAP_RESIDENT_COUNT(9)

Description

       The  pmap_resident_count() and pmap_wired_count() macros allow pmap consumers to retrieve statistics from
       the pm_stats member of the machine-dependent structure structpmap.

Implementation Notes

       Both functions are defined as in-line macros.  The members which they access have type long.

Name

       pmap_resident_count, pmap_wired_count — return page resident and wiring statistics

Return Values

       The pmap_resident_count() returns the number of pages in  the  physical  map  pmap  which  are  currently
       resident in main memory.

       The  pmap_wired_count()  returns  the  number of pages in the physical map pmap which are currently wired
       into in main memory.

See Also

pmap(9)

Synopsis

#include<sys/param.h>#include<vm/vm.h>#include<vm/pmap.h>longpmap_resident_count(pmap_tpmap);

       longpmap_wired_count(pmap_tpmap);

See Also