Skip to content
Snippets Groups Projects
  1. Jan 02, 2013
  2. 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
  3. Dec 19, 2012
  4. 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
  5. Nov 29, 2012
  6. 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
  7. Nov 08, 2012
  8. 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
  9. Nov 02, 2012
  10. Oct 16, 2012
  11. 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
  12. Oct 10, 2012
  13. 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
  14. Oct 06, 2012
  15. Oct 01, 2012
  16. Sep 29, 2012
    • Brad King's avatar
      SystemInformation: Pass extern "C" functions to sigaction · 8115bd1b
      Brad King authored
      Cast StacktraceSignalHandler to extern "C" to avoid the warning:
      
       SystemInformation.cxx, line 3048: Warning (Anachronism): Assigning
        void(*)(int,siginfo*,void*) to extern "C" void(*)(int,siginfo*,void*)
      
      on the Sun compiler.
      
      Change-Id: I8f8ac99656bc8ee6f604ea69c415a093699ca86d
      8115bd1b
    • Brad King's avatar
      SystemInformation: Fix unused assignment warnings · 4f4dd224
      Brad King authored
      Fix interaction between local variables and conditional code in methods
      
       SystemInformationImplementation::GetFullyQualifiedDomainName
       SystemInformationImplementation::GetMemoryTotal
       SystemInformationImplementation::GetMemoryUsed
       SystemInformationImplementation::GetProcessId
      
      to avoid assigning values to local variables that are never used.
      
      While at it, fix GetMemoryUsed() to not leak the OpenProcess handle when
      GetProcessMemoryInfo fails.
      
      Change-Id: I582b70c7b4795df6b97bdeafc6328001dc5ce3ee
      4f4dd224
    • Brad King's avatar
      SystemInformation: Use ifaddrs.h only where available · 6b26d2fe
      Brad King authored
      Change-Id: I8788a5c8d8a8e9116675b1692b9ce102a943fc13
      6b26d2fe
    • Brad King's avatar
      SystemInformation: Use si_code constants only where available · 381923ed
      Brad King authored
      Change-Id: Ib700bc38f9bc18ae2bb899b9c84c9cec91f9cfdb
      381923ed
Loading