/** * Gets the cost per Million Instruction (MI) associated with a Datacenter. * * @return the cost using CPU of PM in the Datacenter * @pre $none * @post $result >= 0.0 * @todo Again, it considers that all PEs of all PM have the same MIPS capacity, * what is not ensured because it is possible to add PMs of different configurations * to a datacenter */ public double getCostPerMi() { return getCostPerSecond() / getMipsOfOnePe(); }
getId(), getCharacteristics().getCostPerSecond(), getCharacteristics().getCostPerBw());
cl.setResourceParameter(getId(), getCharacteristics().getCostPerSecond(), getCharacteristics() .getCostPerBw());