Skip to content

Commit 300f470

Browse files
committed
Add an example.
1 parent b25b449 commit 300f470

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ Usage
2222

2323
`etoile -cores $CORES -tilecores $TILECORES -mpbsize $MPBSIZE -cachesize $CACHESIZE -maxcont $MAXCONT $TASKSET.txt > $TASKSET.dat`
2424
`oplrun opl.mod $TASKSET.dat`
25+
26+
For a description of the available options, use
27+
`etoile -help

example.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
TFF-2.0
2+
# Task "Name" Period WCET Offset (Deadline)
3+
Task "t0" 2 1 0 (2) 0
4+
Task "t1" 2 1 0 (2) 0
5+
Task "t2" 4 3 0 (4) 0
6+
# Dependency "Src" "Dest" (SrcJob:DstJob)
7+
Dependency "t0" "t2" (1:0)

opl.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ execute {
102102
// writeln("p(",t,") = ", p[t]);
103103
// for (b in Bufs)
104104
// writeln("m(",b,") = ", m[b]);
105-
// for (j in Jobs)
106-
// writeln("s(",j,") = ", s[j]);
105+
for (j in Jobs)
106+
writeln("s(",j,") = ", s[j]);
107107
writeln("n_cores = ", n_cores);
108108
writeln("n_cont = ", n_cont);
109109
}

0 commit comments

Comments
 (0)