pmap_wired_count(9freebsd)

pmap_wired_count9freebsd

Return page resident and wiring statistics

Part of pmap_resident_count(9freebsd).

Usage

#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);

Overview

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 struct pmap.

Implementation notes

Both functions are defined as in-line macros. The members which they access 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.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–13

Authors

This manual page was written by Bruce M Simpson ⟨[email protected]⟩.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.