zx_system_get_physmem
SUMMARY
Get amount of physical memory on the system.
DECLARATION
DESCRIPTION
zx_system_get_physmem() returns the total size of physical memory on
the machine, in bytes.
RIGHTS
TODO(fxbug.dev/32253)
RETURN VALUE
zx_system_get_physmem() returns a number in bytes.
ERRORS
zx_system_get_physmem() cannot fail.
NOTES
Currently the total size of physical memory cannot change during a run of the system, only at boot time. This might change in the future.
SEE ALSO
- [
zx_system_get_num_cpus()]
最后更新:
2022 年 12 月 31 日(Saturday) 21:07 CST