diff options
author | grehan <grehan@FreeBSD.org> | 2014-06-25 22:13:35 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2014-06-25 22:13:35 +0000 |
commit | 54db9f3822880e2e4fccd78d92b7612e5b2b9d11 (patch) | |
tree | 5f7fe3e465af3cbccb096242eb1b593c186a5bfd /lib/libc/regex/utils.h | |
parent | 82be9401d757a9772a8ed511ee804fa48874bd1f (diff) | |
download | FreeBSD-src-54db9f3822880e2e4fccd78d92b7612e5b2b9d11.zip FreeBSD-src-54db9f3822880e2e4fccd78d92b7612e5b2b9d11.tar.gz |
Expose the amount of resident and wired memory from the guest's vmspace.
This is different than the amount shown for the process e.g. by
/usr/bin/top - that is the mappings faulted in by the mmap'd region
of guest memory.
The values can be fetched with bhyvectl
# bhyvectl --get-stats --vm=myvm
...
Resident memory 413749248
Wired memory 0
...
vmm_stat.[ch] -
Modify the counter code in bhyve to allow direct setting of a counter
as opposed to incrementing, and providing a callback to fetch a
counter's value.
Reviewed by: neel
Diffstat (limited to 'lib/libc/regex/utils.h')
0 files changed, 0 insertions, 0 deletions