Error in HarddriveStorage.java

5 views
Skip to first unread message

Baptiste Louis

unread,
Feb 10, 2015, 5:23:48 AM2/10/15
to cloudsim...@googlegroups.com
In the class HarddriveStorage.java , the method getTransferTime(int fileSize) has an error :

Line 435:
result = (fileSize * maxTransferRate) / capacity;            //The transferTime should not depend on capacity.

It should be:
result = (fileSize / maxTransferRate);                           //Now the result is in second.


Can you confirm and correct it in the next CloudSim Update?
Reply all
Reply to author
Forward
0 new messages