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.
One mebibyte is 1024 * 1024 One megabyte is 1000 * 1000
Various lines at https://gitlab.kitware.com/cmake/cmake/blob/master/Source/kwsys/SystemInformation.cxx
And the line in the kernel at https://github.com/torvalds/linux/blob/360bd62dc4943a0754e6cb5637e01b5b43143cfc/fs/proc/meminfo.c#L30
Indicate the use of 1024 instead of 1000 when calculating the sizes.
Merge request reports
Activity
added 1 commit
- 9d0c54e4 - Help: Clarify cmake_host_system_information memory units
added 1 commit
- 620bf4b0 - Help: Clarify cmake_host_system_information memory units
assigned to @brad.king
changed milestone to %3.13.0
added area:doc label
added workflow:nightly-testing label
- Resolved by Craig Scott
added workflow:in-review and removed workflow:nightly-testing labels
assigned to @craig.scott
added 1 commit
- a4e6e156 - Help: Added footnote to memory units in cmake_host_system_information
- Resolved by Craig Scott
added 1 commit
- 5f96627f - Help: Fixed RST syntax errors in cmake_host_system_information
added 1 commit
- 228a2b0d - Help: Clarify cmake_host_system_information memory units
@tay10r Thanks, I squashed your fixup commits. Looks good for nightly testing now.
Do: stage
added workflow:nightly-testing and removed workflow:in-review labels
removed workflow:nightly-testing label
mentioned in commit 151fc668