public int GetMipsOfOnePe(int id, int peId) { if (HostList.Count == 0) { return(-1); } return(PeList.GetMips(HostList.GetById(id).PeList, peId)); }
public int GetMipsOfOnePe() { if (HostList.Count == 0) { return(-1); } return(PeList.GetMips(HostList[0].PeList, 0)); }