Commit 23274150 authored by Nikolay's avatar Nikolay

Making a method protected, to facilitate the development of new cloudlet schedulers

parent 5ce62d57
...@@ -109,7 +109,7 @@ public class CloudletSchedulerTimeShared extends CloudletScheduler { ...@@ -109,7 +109,7 @@ public class CloudletSchedulerTimeShared extends CloudletScheduler {
* @param mipsShare the mips share * @param mipsShare the mips share
* @return the capacity * @return the capacity
*/ */
private double getCapacity(List<Double> mipsShare) { protected double getCapacity(List<Double> mipsShare) {
double capacity = 0.0; double capacity = 0.0;
int cpus = 0; int cpus = 0;
for (Double mips : mipsShare) { for (Double mips : mipsShare) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment