Questions tagged [cloudsim]

CloudSim is a framework for modeling and simulation of Cloud Computing Infrastructures and Services.

94 questions
-1
votes
2 answers

CloudSim: Monitoring the CPU utilization and the response time

How do I monitor the CPU utilization for each VM and the system response time when the cloudlets are running in constant intervals in CloudSim (for example every 5 minutes)? I know that getTotalUtilizationOfCpu() function of VM class is used to get…
sogand
  • 1
  • 1
-1
votes
1 answer

How to specify RAM and CPU amount to be used for a cloudlet in CloudSim?

I want to specify by myself the amount of CPU and RAM for my task.For example, I want my first task to consume CPU X and RAM Y and the other consume CPU Z and RAM Z, now how to do that in CloudSim?
I Sui
  • 13
  • 3
-3
votes
1 answer

get a value from a method main Class A to another method Class B

I declared the variable public static in the first class A so, I can access it from Class B but, the variable can be only calculated in the main method of Class A and it's calculable I get the value in the same class but in the class B I get a zero…
-3
votes
1 answer

What does aveRP[0] == 0 and aveRP[0] > 0 in the code means?

if(aveRP[0] == 0){} else if(aveRP[0] > 0){ for(int i = 0 ; i < 100; i++){ double a = r.nextGaussian() * 0.3 + aveRP[0]; if (a < 0 || a > 1){} else{ relinp.add(a);} where aveRP is an array list of double variable type ?
1 2 3 4 5 6
7