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
more on testing the dotloader
[simgrid.git]
/
examples
/
lua
/
SimSplay
/
splay_school.lua
diff --git
a/examples/lua/SimSplay/splay_school.lua
b/examples/lua/SimSplay/splay_school.lua
index
51cd58c
..
358c36f
100644
(file)
--- a/
examples/lua/SimSplay/splay_school.lua
+++ b/
examples/lua/SimSplay/splay_school.lua
@@
-2,10
+2,10
@@
require("sim_splay")
function SPLAYschool()
log:print("My ip is: "..job.me.ip())
function SPLAYschool()
log:print("My ip is: "..job.me.ip())
- for i = 1
000,100
00 do
+ for i = 1
,2
00 do
log:print(i)
end
log:print(i)
end
-
+--[[
events.sleep(5)
if job.me.ip() == job.nodes[1].ip then
events.sleep(5)
if job.me.ip() == job.nodes[1].ip then
@@
-13,6
+13,7
@@
function SPLAYschool()
end
events.sleep(5)
os.exit()
end
events.sleep(5)
os.exit()
+ --]]
end
function call_me(from)
end
function call_me(from)
@@
-21,4
+22,5
@@
end
events.thread("SPLAYschool")
start.loop()
events.thread("SPLAYschool")
start.loop()
+log:print("Simulation finished")