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
actually kill models' names
[simgrid.git]
/
examples
/
java
/
surfCpuModel
/
TestCpuModel.java
diff --git
a/examples/java/surfCpuModel/TestCpuModel.java
b/examples/java/surfCpuModel/TestCpuModel.java
index
068cb8f
..
92dbf93
100644
(file)
--- a/
examples/java/surfCpuModel/TestCpuModel.java
+++ b/
examples/java/surfCpuModel/TestCpuModel.java
@@
-35,7
+35,7
@@
public class TestCpuModel {
/* construct the platform and deploy the application */
Msg.createEnvironment(args[0]);
Msg.deployApplication(args[1]);
/* construct the platform and deploy the application */
Msg.createEnvironment(args[0]);
Msg.deployApplication(args[1]);
- Msg.info("Cpu Loaded: "+Surf.getCpuModel().getName());
+ Msg.info("Cpu Loaded: "+Surf.getCpuModel().get
Class().get
Name());
/* execute the simulation. */
Msg.run();
/* execute the simulation. */
Msg.run();