pmap_wired_count(9) return page resident and wiring statistics

Other Alias

pmap_resident_count

SYNOPSIS

In sys/param.h In vm/vm.h In vm/pmap.h Ft long Fn pmap_resident_count pmap_t pmap Ft long Fn pmap_wired_count pmap_t pmap

DESCRIPTION

The Fn pmap_resident_count and Fn pmap_wired_count macros allow pmap consumers to retrieve statistics from the pm_stats member of the machine-dependent structure Vt struct pmap .

IMPLEMENTATION NOTES

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

RETURN VALUES

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

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

AUTHORS

This manual page was written by An Bruce M Simpson Aq [email protected] .