Class ProcessorsInfo


  • class ProcessorsInfo
    extends java.lang.Object
    Discover the list of processors from /proc/cpuinfo.
    • Constructor Detail

      • ProcessorsInfo

        ProcessorsInfo()
    • Method Detail

      • getCpusOnSameCore

        public java.util.Set<java.lang.Integer> getCpusOnSameCore​(int targetCpu)
        Given one cpu id, return all CPUs that are sharing the same core.
      • parseCpuInfo

        static ProcessorsInfo parseCpuInfo​(java.lang.String cpuInfoString)