Notes |
|
(0018825)
|
David Cole
|
2009-12-11 15:18
|
|
Related commit from earlier today:
cvs -q commit -m "Add fallback for detecting CPU speed from Windows registry on
builds where USE_ASM_INSTRUCTIONS gets defined to 0. (Win64 builds.) Clean up methods to return
false when not implemented or when they fail to detect the things they're supposed to detect. This file
still needs a lot more work to have a fully working implementation on Win64 builds. Committing it now
because it's slightly better than it was, and there is a need for the CPU speed detection code in projects
that depend on kwsys. Will file a bug shortly to request that the missing implementations get filled in..."
SystemInformation.cxx
/cvsroot/CMake/CMake/Source/kwsys/SystemInformation.cxx,v <-- SystemInformation.cxx
new revision: 1.54; previous revision: 1.53 |
|
|
(0018826)
|
David Cole
|
2009-12-11 16:13
|
|
The memory reported is different, but still definitely wrong, though Julien told me he just backported your fix.
I have 8 GB physical, and a 2 GB (!) pagefile, on Vista 64.
My 64 bits build reports:
- 4028 MB total physical (call to GetTotalPhysicalMemory)
- 4095 MB total virtual (GetTotalVirtualMemory())
My 32 bits build reports:
- 4028 MB total physical (call to GetTotalPhysicalMemory)
- 2047 MB total virtual (GetTotalVirtualMemory())
In any case, the physical mem is wrong.
The max total virtual memory for a Win32 process is always 2G. Unless you link with /LARGEADDRESSAWARE and set your machine up specially, and then you can get up to 3G for 32-bit processes. So that's what GetTotalVirtualMemory is reporting.
Not sure why GetTotalPhysicalMemory is reporting incorrectly. I'll add a note to the bug to take a look on a machine with 8G of RAM... |
|
|
(0023811)
|
Alex Neundorf
|
2010-12-08 14:43
|
|
|
|
(0024431)
|
David Cole
|
2011-01-05 14:32
|
|
Unsetting the target version field. Not enough time left to address this issue before the 2.8.4 release. Deferred. |
|
|
(0041634)
|
Kitware Robot
|
2016-06-10 14:27
|
|
Resolving issue as `moved`.
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
|