Commit 9d6af996 authored by Ahmad Siavashi's avatar Ahmad Siavashi

revision

parent 3a7beb19
...@@ -250,7 +250,7 @@ public class Vgpu { ...@@ -250,7 +250,7 @@ public class Vgpu {
* @param mips * @param mips
* the new mips * the new mips
*/ */
protected void setPeMips(double mips) { public void setPeMips(double mips) {
this.peMips = mips; this.peMips = mips;
} }
...@@ -269,7 +269,7 @@ public class Vgpu { ...@@ -269,7 +269,7 @@ public class Vgpu {
* @param numberOfPes * @param numberOfPes
* the new number of pes * the new number of pes
*/ */
protected void setNumberOfPes(int numberOfPes) { public void setNumberOfPes(int numberOfPes) {
this.numberOfPes = numberOfPes; this.numberOfPes = numberOfPes;
} }
...@@ -315,7 +315,7 @@ public class Vgpu { ...@@ -315,7 +315,7 @@ public class Vgpu {
* @pre bw > 0 * @pre bw > 0
* @post $none * @post $none
*/ */
protected void setBw(long bw) { public void setBw(long bw) {
this.bw = bw; this.bw = bw;
} }
...@@ -336,7 +336,7 @@ public class Vgpu { ...@@ -336,7 +336,7 @@ public class Vgpu {
* @param type * @param type
* the new virtual gpu type * the new virtual gpu type
*/ */
protected void setType(int type) { public void setType(int type) {
this.type = type; this.type = type;
} }
......
...@@ -21,8 +21,6 @@ import org.cloudbus.cloudsim.gpu.util.GridVgpuUtil; ...@@ -21,8 +21,6 @@ import org.cloudbus.cloudsim.gpu.util.GridVgpuUtil;
*/ */
public class PerformanceModelGpuConstant implements PerformanceModel<VgpuScheduler, Vgpu> { public class PerformanceModelGpuConstant implements PerformanceModel<VgpuScheduler, Vgpu> {
public static final double TOTAL_CAPACITY = 0;
protected final double gain; protected final double gain;
/** /**
......
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