Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PMAP_RESIDENT_COUNT(9)	 BSD Kernel Developer's	Manual	PMAP_RESIDENT_COUNT(9)

NAME
     pmap_resident_count, pmap_wired_count -- return page resident and wiring
     statistics

SYNOPSIS
     #include <sys/param.h>
     #include <vm/vm.h>
     #include <vm/pmap.h>

     long
     pmap_resident_count(pmap_t	pmap);

     long
     pmap_wired_count(pmap_t pmap);

DESCRIPTION
     The pmap_resident_count() and pmap_wired_count() macros allow pmap	con-
     sumers to retrieve	statistics from	the pm_stats member of the machine-de-
     pendent structure struct pmap.

IMPLEMENTATION NOTES
     Both functions are	defined	as in-line macros.  The	members	which they ac-
     cess have type long.

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)

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

BSD				 July 21, 2003				   BSD

NAME | SYNOPSIS | DESCRIPTION | IMPLEMENTATION NOTES | RETURN VALUES | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=pmap_resident_count&sektion=9&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help