All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cloudbus.cloudsim.power.models.PowerModelLinear Maven / Gradle / Ivy

Go to download

CloudSim Plus: A modern, highly extensible and easier-to-use Java 8 Framework for Modeling and Simulation of Cloud Computing Infrastructures and Services

There is a newer version: 8.0.0
Show newest version
/*
 * Title:        CloudSim Toolkit
 * Description:  CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds
 * Licence:      GPL - http://www.gnu.org/copyleft/gpl.html
 *
 * Copyright (c) 2009-2012, The University of Melbourne, Australia
 */

package org.cloudbus.cloudsim.power.models;

/**
 * A power model where the power consumption is linear to resource usage.
 *
 * 

If you are using any algorithms, policies or workload included in the power package please cite * the following paper:

* * * * @author Anton Beloglazov * @author Manoel Campos da Silva Filho * @since CloudSim Toolkit 2.0 */ public class PowerModelLinear extends PowerModelSimple { /** * Instantiates a linear power model. * * @param maxPower the max power that can be consumed in Watt-Second (Ws). * @param staticPowerPercent the static power usage percentage between 0 and 1. */ public PowerModelLinear(final double maxPower, final double staticPowerPercent) { /** Calls the super constructor passing a {@link #powerFunction} * that indicates the base power consumption is linear to CPU utilization.*/ super(maxPower, staticPowerPercent, utilizationPercent -> utilizationPercent); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy