Copyright (c) 2003 Bruce M Simpson <email@example.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documenta...
NAMEpmap_resident_count pmap_wired_count - return page resident and wiring statistics
SYNOPSISIn 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
DESCRIPTIONThe 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 NOTESBoth functions are defined as in-line macros. The members which they access have type Vt long .
RETURN VALUESThe 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.