mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-24 09:09:43 -05:00
Help: Clarify cmake_host_system_information memory units
The memory size query implementations report in units of one mebibyte (2^20). Clarify the unit in the documentation because "megabyte" might also be interpreted as 10^6.
This commit is contained in:
committed by
Craig Scott
parent
d5a12cc84d
commit
228a2b0d82
@@ -20,10 +20,10 @@ Key Description
|
|||||||
``NUMBER_OF_PHYSICAL_CORES`` Number of physical cores
|
``NUMBER_OF_PHYSICAL_CORES`` Number of physical cores
|
||||||
``HOSTNAME`` Hostname
|
``HOSTNAME`` Hostname
|
||||||
``FQDN`` Fully qualified domain name
|
``FQDN`` Fully qualified domain name
|
||||||
``TOTAL_VIRTUAL_MEMORY`` Total virtual memory in megabytes
|
``TOTAL_VIRTUAL_MEMORY`` Total virtual memory in MiB [#mebibytes]_
|
||||||
``AVAILABLE_VIRTUAL_MEMORY`` Available virtual memory in megabytes
|
``AVAILABLE_VIRTUAL_MEMORY`` Available virtual memory in MiB [#mebibytes]_
|
||||||
``TOTAL_PHYSICAL_MEMORY`` Total physical memory in megabytes
|
``TOTAL_PHYSICAL_MEMORY`` Total physical memory in MiB [#mebibytes]_
|
||||||
``AVAILABLE_PHYSICAL_MEMORY`` Available physical memory in megabytes
|
``AVAILABLE_PHYSICAL_MEMORY`` Available physical memory in MiB [#mebibytes]_
|
||||||
``IS_64BIT`` One if processor is 64Bit
|
``IS_64BIT`` One if processor is 64Bit
|
||||||
``HAS_FPU`` One if processor has floating point unit
|
``HAS_FPU`` One if processor has floating point unit
|
||||||
``HAS_MMX`` One if processor supports MMX instructions
|
``HAS_MMX`` One if processor supports MMX instructions
|
||||||
@@ -44,3 +44,7 @@ Key Description
|
|||||||
``OS_VERSION`` The OS build ID
|
``OS_VERSION`` The OS build ID
|
||||||
``OS_PLATFORM`` See :variable:`CMAKE_HOST_SYSTEM_PROCESSOR`
|
``OS_PLATFORM`` See :variable:`CMAKE_HOST_SYSTEM_PROCESSOR`
|
||||||
============================= ================================================
|
============================= ================================================
|
||||||
|
|
||||||
|
.. rubric:: Footnotes
|
||||||
|
|
||||||
|
.. [#mebibytes] One MiB (mebibyte) is equal to 1024x1024 bytes.
|
||||||
|
|||||||
Reference in New Issue
Block a user