Ejemplo n.º 1
0
 public int GetMipsOfOnePe(int id, int peId)
 {
     if (HostList.Count == 0)
     {
         return(-1);
     }
     return(PeList.GetMips(HostList.GetById(id).PeList, peId));
 }
Ejemplo n.º 2
0
        public int GetMipsOfOnePe()
        {
            if (HostList.Count == 0)
            {
                return(-1);
            }

            return(PeList.GetMips(HostList[0].PeList, 0));
        }