Esempio n. 1
0
 internal ProcessorPackageInfo(PROCESSOR_RELATIONSHIP core)
 {
     this.Affinities = new GroupAffinity[core.GroupCount];
     for (int i = 0; i < core.GroupCount; i++)
     {
         this.Affinities[i] = new GroupAffinity(core.GroupMask[i]);
     }
 }
Esempio n. 2
0
 internal ProcessorCoreInfo(PROCESSOR_RELATIONSHIP core)
 {
     this.IsSMT           = (core.Flags & LTP_PC_SMT) == LTP_PC_SMT;
     this.EfficiencyClass = core.EfficiencyClass;
     this.Affinities      = new GroupAffinity[core.GroupCount];
     for (int i = 0; i < core.GroupCount; i++)
     {
         this.Affinities[i] = new GroupAffinity(core.GroupMask[i]);
     }
 }