Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
spell out -classpath with all letters as it seems to break on kfreebsd when written...
[simgrid.git] / examples / java / priority / priority.tesh
1 #! tesh
2
3 ! output sort
4
5 $ java -classpath ${classpath:=.} priority/Priority ${srcdir:=.}/platform.xml ${srcdir:=.}/priority/priorityDeployment.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
6 > [  0.000000] (1:priority.Test@Fafard) Hello! Running a task of size 7.6296E7 with priority 1.0
7 > [  0.000000] (2:priority.Test@Fafard) Hello! Running a task of size 7.6296E7 with priority 2.0
8 > [  0.833332] (2:priority.Test@Fafard) Goodbye now!
9 > [  1.111109] (0:@) MSG_main finished; Cleaning up the simulation...
10 > [  1.111109] (1:priority.Test@Fafard) Goodbye now!
11 > [0.000000] [jmsg/INFO] Using regular java threads. Coroutines could speed your simulation up.