[all-commits] [llvm/llvm-project] bca1b8: [SystemZ/ZOS] Implement computeHostNumPhysicalCores

Kai Nacke via All-commits all-commits at lists.llvm.org
Wed Aug 12 05:33:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bca1b8ed994336690db4775e67953aad533b0e31
      https://github.com/llvm/llvm-project/commit/bca1b8ed994336690db4775e67953aad533b0e31
  Author: Kai Nacke <kai.nacke at de.ibm.com>
  Date:   2020-08-12 (Wed, 12 Aug 2020)

  Changed paths:
    M llvm/lib/Support/Host.cpp
    M llvm/unittests/Support/Host.cpp

  Log Message:
  -----------
  [SystemZ/ZOS] Implement computeHostNumPhysicalCores

On z/OS, the information is stored in the Common System Data Area
(CSD). It is the number of CPs allocated to the current LPAR.

Reviewers: aganea, hubert.reinterpertcast, MaskRay

Reviewed By: hubert.reinterpertcast

Differential Revision: https://reviews.llvm.org/D85531




More information about the All-commits mailing list