- Jan 11, 2013
-
-
Brad King authored
Change-Id: I55506c112cfffdb8d56a85bae0eeaae91d4035bf
-
- Jan 10, 2013
-
-
Rolf Eike Beer authored
Change-Id: I3adc0d179c210e10098b84ac47b9401b1c7b2ecc
-
Rolf Eike Beer authored
Change-Id: Ic2354e8f33b9dd2ceb5fb8cdc16102922ebbe72a
-
- Jan 09, 2013
-
-
Rolf Eike Beer authored
Change-Id: I9ec994e96c895196491dccba7d867cdfe6321a61
-
Brad King authored
-
- Jan 08, 2013
-
-
Rolf Eike Beer authored
Append the whole process output in one go to our buffer instead of doing this byte by byte. Change-Id: I060aac43e59d514e999a9fca897ce5fd76fdddd6
-
Rolf Eike Beer authored
kwsysProcess_WaitForData() may return kwsysProcess_Pipe_Timeout, which is 255. The current check would take that as sign of success and read invalid data or even crash. Change-Id: I148f5d435a088cb3814f513cce4f13e5358e5730
-
Rolf Eike Beer authored
SystemInformation.cxx: In member function 'bool kwsys::SystemInformationImplementation::QueryProcessor()': SystemInformation.cxx:3029:31: warning: conversion to 'unsigned int' from 'long int' may alter its value [-Wconversion] Change-Id: I622072bf176d96814a8b17ce66b099cbd797913a
-
- Jan 07, 2013
- Jan 06, 2013
-
-
Rolf Eike Beer authored
Change-Id: I881521d84a31b6b1c68930f94acbcea88b5c1dea
-
- Jan 05, 2013
-
-
Rolf Eike Beer authored
The other query functions return bool and the only values ever returned here were 0 and 1 anyway. Change-Id: Ibd6b562afda95cd05a87f1fe4959ff9ee7a11885
-
Rolf Eike Beer authored
Change-Id: Ic4936a20115c286f11db3ef1a6a82a49547ca257
-
Rolf Eike Beer authored
This has already been initialized in the constructor. Change-Id: I188f8c787c9335a88f797781a22f65b98bdcd583
-
Rolf Eike Beer authored
Change-Id: Icbc836cb189658c0f03b29e3316260c17a3858c1
-
Rolf Eike Beer authored
Change-Id: I20c9bd0b22ab103ace29b4e23889e52cc555cc3b
-
Rolf Eike Beer authored
Change-Id: Ibebc8eba54793dd3d6a94f5fd54b5939b4689f68
-
Rolf Eike Beer authored
Change-Id: I5525c1a03fa0615f867d325687a6deb75440c801
-
Rolf Eike Beer authored
This was used only at a single place since commit 3db65ac1 (SystemInformation: wrap the call to CPUID in a function), so there is no need to keep this abstracted anymore. Change-Id: I913b1e26fd5e30c71343f397374440d1d6ef30b2
-
- 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
-