zx_system_get_num_cpus
SUMMARY
Get number of logical processors on the system.
DECLARATION
DESCRIPTION
zx_system_get_num_cpus() returns the number of CPUs (logical processors)
that exist on the system currently running. This number cannot change
during a run of the system, only at boot time.
RIGHTS
TODO(fxbug.dev/32253)
RETURN VALUE
zx_system_get_num_cpus() returns the number of CPUs.
ERRORS
zx_system_get_num_cpus() cannot fail.
NOTES
SEE ALSO
- [
zx_system_get_physmem()]
最后更新:
2023 年 5 月 10 日(Wednesday) 10:12 CST