*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> pmap_wired_count (9)              
Title
Content
Arch
Section
 

PMAP_RESIDENT_COUNT(9)

Contents


NAME    [Toc]    [Back]

     pmap_resident_count, pmap_wired_count -- return page resident and wiring
     statistics

SYNOPSIS    [Toc]    [Back]

     #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    [Toc]    [Back]

     The pmap_resident_count() and pmap_wired_count() macros allow pmap consumers
 to retrieve statistics from the pm_stats member of the machinedependent
 structure struct pmap.

IMPLEMENTATION NOTES    [Toc]    [Back]

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

RETURN VALUES    [Toc]    [Back]

     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    [Toc]    [Back]

      
      
     pmap(9)

AUTHORS    [Toc]    [Back]

     This manual page was written by Bruce M Simpson <[email protected]>.


				 July 21, 2003
[ Back ]
 Similar pages
Name OS Title
vm_map_wire FreeBSD manage page wiring within a virtual memory map
vm_map_unwire FreeBSD manage page wiring within a virtual memory map
kvm_getswapinfo FreeBSD return swap summary statistics for the system
pmap_mincore FreeBSD determine if a virtual address is resident in physical memory
pmap_change_wiring FreeBSD change physical wiring for a map or virtual address pair
istexloaded IRIX returns whether the texture with the passed id is resident in texture memory
vm_page_lookup FreeBSD lookup a vm page
vm_page_zero_fill FreeBSD zero fill a page
vm_page_try_to_free FreeBSD free a page
pmap_zero_area FreeBSD zero-fill a page using
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service