- Jan 25, 2013
-
-
Change-Id: I63c5e599f8d2a66b448356e8920039ddecdd8431
-
- Jan 14, 2013
-
-
Brad King authored
-
Brad King authored
* changes: SystemInformation: try using assembler with BorlandC SystemInformation: cache result of IsHyperThreadingSupported() SystemInformation: make IsHyperThreadingSupported() return bool SystemInformation: fix "Multi-character character constant"
-
Brad King authored
* changes: SystemInformation: query memory size with sysconf() on Solaris SystemInformation: count processors with sysconf() on Solaris SystemInformation: factor out QueryProcessorBySysconf() SystemInformation: factor out QueryMemoryBySysconf()
-
- Jan 12, 2013
-
-
Rolf Eike Beer authored
Change-Id: Idba42c70b312a524430780471013b0e2dd245529
-
Rolf Eike Beer authored
A positive result of this function is now cached and reused on later calls. Change-Id: I4a9048c0a234243e929b4726f9aa4351bcb75558
-
- Jan 11, 2013
-
-
Rolf Eike Beer authored
The manpage suggests this is available since Solaris 2.3, which is from 1993. No need to spawn a process then for this information. As an extra bonus we get information about the available physical memory for free, which was missing before. On 32 bit processes we will still fall back to the old method as the values returned by a 32 bit process on a 64 bit host are limited to 4 GiB. Rename QuerySolarisInfo() to QuerySolarisProcessor() as that is now what this function is about. Change-Id: I76fe77a7d746d92d1752119f2c2703652c575339
-
Rolf Eike Beer authored
Change-Id: Ic964ad79ab256e0ce693764065e92528a255fddc
-
Rolf Eike Beer authored
Borland compiler correctly complains about this: Warning W8098 SystemInformation.cxx 3773: Multi-character character constant in function SystemInformationImplementation::IsHyperThreadingSupported() Warning W8098 SystemInformation.cxx 3775: Multi-character character constant in function SystemInformationImplementation::IsHyperThreadingSupported() Warning W8098 SystemInformation.cxx 3777: Multi-character character constant in function SystemInformationImplementation::IsHyperThreadingSupported() Change-Id: Id5b5411ed0d04d985dfc8235a6c8c817a4e12ccf
-
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
-
Rolf Eike Beer authored
Change-Id: I0297d1cdb6010f904c5758b0065173cdc77e4c30
-
Rolf Eike Beer authored
Change-Id: I06ac6ee8806cfcdf9048545f6abb509cd7ef1c73
-
Rolf Eike Beer authored
Change-Id: I840f1a928ac7396bc4ee2a2081e9b68c4f14c1d7
-
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
-