public MonitoringUpdateResults Update() { MonitoringUpdateResults results = new MonitoringUpdateResults(); results.unitMetrics = new string[CboCount][]; cpu.InitializeCboTotals(); for (uint cboIdx = 0; cboIdx < CboCount; cboIdx++) { cpu.UpdateCboCounterData(cboIdx); results.unitMetrics[cboIdx] = computeMetrics("CBo " + cboIdx, cpu.cboData[cboIdx]); } results.overallMetrics = computeMetrics("Overall", cpu.cboTotals); return(results); }
public MonitoringUpdateResults Update() { MonitoringUpdateResults results = new MonitoringUpdateResults(); results.unitMetrics = new string[CboCount][]; cpu.InitializeCboTotals(); for (uint cboIdx = 0; cboIdx < CboCount; cboIdx++) { cpu.UpdateCboCounterData(cboIdx); results.unitMetrics[cboIdx] = computeMetrics("CBo " + cboIdx, cpu.cboData[cboIdx], false); } results.overallMetrics = computeMetrics("Overall", cpu.cboTotals, true); results.overallCounterValues = cpu.GetOverallL3CounterValues("ToR Occupancy", "ToR Inserts", "Clockticks", "ToR Entry Present"); return(results); }
public MonitoringUpdateResults Update() { MonitoringUpdateResults results = new MonitoringUpdateResults(); results.unitMetrics = new string[CboCount][]; cpu.InitializeCboTotals(); for (uint cboIdx = 0; cboIdx < CboCount; cboIdx++) { cpu.UpdateCboCounterData(cboIdx); results.unitMetrics[cboIdx] = computeMetrics("CBo " + cboIdx, cpu.cboData[cboIdx]); } results.overallMetrics = computeMetrics("Overall", cpu.cboTotals); results.overallCounterValues = cpu.GetOverallL3CounterValues("Clockticks", "LLC Hit", "BL Up Cycles", "BL Down Cycles"); return(results); }