- Jan 06, 2013
-
-
Rolf Eike Beer authored
Change-Id: I881521d84a31b6b1c68930f94acbcea88b5c1dea
-
- Jan 04, 2013
- Jan 03, 2013
-
-
Rolf Eike Beer authored
Change-Id: I457b64f50560c3c85eabd47899f55fc2635a1ef4
-
Brad King authored
In commit bf7f0ddc (Fix KWSys FundamentalType for Universal Binaries, 2009-11-20) we repurposed CMake variables "KWSYS_SIZEOF_${type}" and dropped use of them from configured headers. However, use of one was accidentally left in "IOStream.hxx.in" to record whether the compiler supports 'long long'. Replace it with a better test. Without this, "@KWSYS_SIZEOF_LONG_LONG@" is replaced with "TRUE" which the preprocessor may evaluate as "0" or "1" depending on whether a "TRUE" macro is defined. Change-Id: I8d3e1d3fc5b80ed440dbb8cebd6231068dfbd491
-
Brad King authored
* changes: SystemInformation: use /proc/cpuinfo only when present SystemInformation: determine CPU type on HP-UX SystemInformation: count CPUs on HP-UX SystemInformation: query memory size, CPU count, and CPU speed on BSD
-
Brad King authored
-
Rolf Eike Beer authored
Change-Id: I7cfa9b5538c596d27ce0728b6876d18dcfe82a84
-
Rolf Eike Beer authored
The CPU may have a TSC but reading it may fail, in which case we now always fall back to reading the value from the registry. This is especially true on Windows64 where we do not have the assembler instructions at all. Change-Id: I5b1aafac6cd8df57ed8c1ac3bafcc8e092e3d4fb
-
Rolf Eike Beer authored
Change-Id: Id733752f37967830ed2a3ed0154b30124f4661f5
-
Rolf Eike Beer authored
Change-Id: I1bb5696731290237467747543e120f375c361b1e
-
- Jan 02, 2013
-
-
Brad King authored
Remove logic that skips all slashes before the first ':'. This does not even make sense for Windows drive letter handling. While at it, remove no-op logic that appears to try to remove trailing slashes. Change-Id: Ib8ed75324ee0149c7899e52ec4a5bf2d0a19d17a
-
Rolf Eike Beer authored
Try to open /proc/cpuinfo only on platforms where it's presence is expected, namely Linux and Cygwin. Otherwise try sysconf(_SC_NPROCESSORS_ONLN) as last resort to count processors. Also account for the slightly different name on IRIX. Change-Id: I89eb5e198a6b3a33b581b70d2213096cbac8ca7c
-
Rolf Eike Beer authored
Change-Id: I3ce3fbaa56d8777a21f5d9bad903eeb15a344a5e
-
Rolf Eike Beer authored
Change-Id: Ib480a8295d817f84219a747744b84b148a3d8d9a
-
Rolf Eike Beer authored
Change-Id: I9d9ed23708dbc1388a04f17cbb9bb88ee6feae30
-
Rolf Eike Beer authored
If there is no other way known for this particular system try this out. Change-Id: Ib06d5c289d7ca625070ad7482bd575ad5e549f0c
-
Rolf Eike Beer authored
Change-Id: I2c0e41d5b10c89bc79df17196e19ec59f5b31a59
-
Change-Id: Ib6b14c8c44129c50187d0273c1f308abe17dff10
-
Change-Id: I3507299e7145268aef9e35c63454dd5f67fcf593
-
Brad King authored
-
Change-Id: I359bfaf0f7b7e55eb1cc1dce5ce02be0aa82a5ad
-
Brad King authored
-
-do not always set NumberOfLogicalCPU to 1, it doesn't make any sense to have this number smaller than NumberOfPhysicalCPU. Instead keep both numbers the same and set LogicalProcessorsPerPhysical to 1. -replace '/1024*8192/1024' with '/128' Change-Id: Idf7d1983875040ceacae5547da408179ca10f1c3
-
Brad King authored
-
Change-Id: Ib9ef970940e4bc10d4cfba52d803508095706bc2
-
- Dec 21, 2012
-
-
The __aarch64__ defines Aarch64, while __AARCH64EB__ defines bigendian and __AARCH64EL__ little endian. Only little endian tested, no big endian toolchain exists yet. Change-Id: Ieded9bdb0557ad1e1f3a5b08fbe210df23079e5e Signed-off-by:
Riku Voipio <riku.voipio@linaro.org>
-
- Dec 19, 2012
-
-
Change-Id: I11673e92c9cab8fe9b7521ad4e0f6120a73abe8c
-
E.g. Linux ARM platforms write "CPU architecture" instead of "cpu family". Change-Id: I8833f6194a8878750b71aaa65bc52fe5eb057a03
-
GetExtendedProcessorName() may sometimes return "Unknown family" when we could return something more meaningful. Some systems (e.g. PA-RISC on Linux) export a "cpu" value in /proc/cpuinfo that has a beautified processor name in it (e.g. "PA8600 (PCX-W+)"). If we have not found something nice but this field is present use that information. Change-Id: I72561bdcba12f3f43d86f96bf3ebfae36ea22421
-
Change-Id: I729237c700e58eca9ea4fdc563f00208cfc81cff
-
If the given key (e.g. "cpu") is matched at the beginning of any line the value was returned regardless if that line would be the correct match (e.g. "cpu family" is not the correct line). Make sure between the key and the colon are only spaces and tabs. Change-Id: I8955add3635a0afb73a9f07f7a0bcf600b7c7015
-
Non-x86 architectures (namely PA-RISC) may not have the "cache size" line, but others. Search for all and sum up their results. Change-Id: Ie8e1c52e2b8be69b0b919bb029c1db95c04a9309
-
Change-Id: Ib753ad6171b0f83f6ad505a904c7d3124d734ee1
-
- Dec 14, 2012
-
-
Brad King authored
The Registry class is not used by any other part of KWSys or by any of the major dependent projects (CMake, ITK, VTK, ParaView, etc.). Remove it from KWSys proper. It can be kept in a specific dependent if necessary. Change-Id: I82c0ae2f6a354e9fc5b267faf8fbbeaf9e99a75e
-
- Nov 29, 2012
-
-
Sean McBride authored
Change-Id: Iaa1cd4ff7ae9a2b4efab0094544af0789c376c0a
-
Some compilers, notably Clang, will warn at compile time (or runtime with debug flags) if they detect a null dereference. Try to outsmart them by dereferencing an address a little larger than NULL. Change-Id: I53c6512f814ad3e8977c076904f0415e8aaaaea5
-