Esempio n. 1
0
 public void Initialize()
 {
     // up to 4 retire slots used each cycle
     cpu.ProgramPerfCounters(GetPerfEvtSelRegisterValue(0xC2, 0x2, true, true, false, false, false, false, true, false, cmask: 1),
                             GetPerfEvtSelRegisterValue(0xC2, 0x2, true, true, false, false, false, false, true, false, cmask: 2),
                             GetPerfEvtSelRegisterValue(0xC2, 0x2, true, true, false, false, false, false, true, false, cmask: 3),
                             GetPerfEvtSelRegisterValue(0xC2, 0x2, true, true, false, false, false, false, true, false, cmask: 4));
 }