Skip to content
Snippets Groups Projects
  1. Jan 03, 2013
    • Brad King's avatar
      IOStream: Fix check for compiler 'long long' support · 1643507a
      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
      1643507a
    • Brad King's avatar
      Merge changes I89eb5e19,I3ce3fbaa,Ib480a829,I9d9ed237 · 7e3f205b
      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
      7e3f205b
    • Brad King's avatar
    • Rolf Eike Beer's avatar
      SystemInformation: get CPU speed on Windows when RDTSC fails · 9808d4e7
      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
      9808d4e7
  2. Jan 02, 2013
  3. Dec 21, 2012
    • Riku Voipio's avatar
      CPU: Add Aarch64 support · 8ce09af5
      Riku Voipio authored and Brad King's avatar Brad King committed
      
      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: default avatarRiku Voipio <riku.voipio@linaro.org>
      8ce09af5
  4. Dec 19, 2012
  5. Dec 14, 2012
    • Brad King's avatar
      Remove KWSys Registry · 01e15c22
      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
      01e15c22
  6. Nov 29, 2012
  7. Nov 14, 2012
    • Brad King's avatar
      Process: Remove support for Windows 98 · fea37696
      Brad King authored
      We no longer support Windows 98.  Remove Win9x-specific code and
      supporting infrastructure.  This simplifies the implementation in several
      places.
      
      Change-Id: Ic3062a81e5880b649feeedf397bf846400f12526
      fea37696
  8. Nov 08, 2012
  9. Nov 05, 2012
    • Brad King's avatar
      SystemInformation: Compute FQDN only on specific platforms · df32fa6f
      Brad King authored
      In order to compute FQDN portably in the future we will need an
      incremental series of try_compile tests to build up the list of
      available headers and supported APIs.  For now implement it only on
      platforms where we have already hard-coded preprocessor tests for the
      headers.
      
      Change-Id: Ie1b2ad30ef3c2d5939071c7cbd32826be64d7e29
      df32fa6f
    • Brad King's avatar
      SystemInformation: Fix sw_vers output processing · 2c46f562
      Brad King authored
      Commit 857bda17 (SystemInformation: Report more information, 2012-05-29)
      attempted to refactor the internal CallSwVers helper to avoid duplicate
      code but introduced a regression in output parsing.  Run sw_vers using
      our RunProcess helper rather than popen and restore the original output
      processing approach.
      
      Change-Id: I550af5813dcad5beaec86c7c5fa1f00bcc9070b6
      2c46f562
    • Brad King's avatar
      SystemInformation: No backtrace on LSB < 4.1 · b7c42507
      Brad King authored
      The backtrace API was added in LSB 4.1 but does not exist in 4.0.
      
      Change-Id: Iae84de74d83135c53f4c5fd7bd16d9764d3c161b
      b7c42507
  10. Nov 02, 2012
  11. Oct 16, 2012
  12. Oct 12, 2012
    • Brad King's avatar
      SystemInformation: Expose helper functions only where needed · a1e83e42
      Brad King authored
      Drop unused helper GetFieldFromCommand.  Define helpers
      
       LoadLines
       NameValue
       GetFieldFromFile
       GetFieldsFromFile
       GetFieldsFromCommand
       StacktraceSignalHandler
      
      only on platforms where they are used.  Hide all helpers in an anonymous
      namespace so they are not visible outside the SystemInformation
      translation unit.
      
      Change-Id: I514881a8f253d72e90a0fb8bf1a6d7d9bc7e01c5
      a1e83e42
    • Brad King's avatar
      SystemInformation: Fix helper definition order · f9db7eab
      Brad King authored
      Switch order of helper function definitions to avoid referencing names
      before they are declared.
      
      Change-Id: I25243b2042163f920f056b71941c88e6cfabac16
      f9db7eab
  13. Oct 10, 2012
  14. Oct 09, 2012
    • Burlen Loring's avatar
      SystemInformation: support for resource limits · 6072e63b
      Burlen Loring authored
      Add methods to report host memory total, host memory available,
      process memory available, host memory used, and process memory
      used. In this context memory is unavailable if there are resource
      limits in place that would prevent its use. Such resource limits
      assumed to be applied on a per host basis both to cooperatively
      operating process groups, such as mpi programms running in parallel,
      and to individual processes. When reporting host memory available
      consult an application specified environment variable. When reporting
      process memory available consult unix resource rlimits and an
      application specified environment variable. The environmant variables
      provide a means of communicating resource limits that are being
      applied in a non-standard way.
      
      Change-Id: Ifb3b0fdaab8db0ab87140fa2dcafad3c51e2d874
      6072e63b
  15. Oct 06, 2012
Loading