A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Expose Host Load for Java API through JNI
[simgrid.git]
/
examples
/
java
/
cloud
/
migration
/
XVM.java
diff --git
a/examples/java/cloud/migration/XVM.java
b/examples/java/cloud/migration/XVM.java
index
563475f
..
6c24b50
100644
(file)
--- a/
examples/java/cloud/migration/XVM.java
+++ b/
examples/java/cloud/migration/XVM.java
@@
-46,7
+46,7
@@
public class XVM extends VM {
return this.daemon;
}
- public
int
getLoad(){
+ public
double
getLoad(){
Msg.info("Remaining comp:" + this.daemon.getRemaining());
return this.currentLoad;
}