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
Kill all the autogenerated I've found. Feel free to kill the remaining ones: buildbot...
[simgrid.git]
/
examples
/
java
/
comm_time
/
Slave.java
diff --git
a/examples/java/comm_time/Slave.java
b/examples/java/comm_time/Slave.java
index
78cde4f
..
cb7878b
100644
(file)
--- a/
examples/java/comm_time/Slave.java
+++ b/
examples/java/comm_time/Slave.java
@@
-16,11
+16,9
@@
public class Slave extends simgrid.msg.Process {
Msg.info("Hello i'm a slave");
- Channel channel = new Channel(0);
-
while(true) {
double time1 = Msg.getClock();
- Task t =
channel.get();
+ Task t =
Task.get(0);
double time2 = Msg.getClock();
if (t instanceof FinalizeTask) {