Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1663 | pj | 1 | This is the configuration file for the CRUNCH program. |
2 | |||
3 | Any character that is not a number (zero...nine) will be skipped. |
||
4 | |||
5 | You should write a line for every task you want to create. |
||
6 | |||
7 | The file MUST be ordered by time and then by task type. |
||
8 | |||
9 | The lines are formed by seven numbers that represent, in order: |
||
10 | |||
11 | - the time at which the task should be created (in microseconds) |
||
12 | - the type of the task. Zero means a hard task, one means a value task |
||
13 | - the relative deadline of the task (in microseconds) |
||
14 | - the worst case execution time of the task (in microseconds) |
||
15 | - the number of iterations done by the dummy cycle |
||
16 | - the value of the task (between zero and one hundred) |
||
17 | - the penalty of the task (between zero and one hundred) |
||
18 | |||
19 | If you want to create more than one task at the same time, remember that |
||
20 | hard task should come in the file BEFORE value tasks. |
||
21 | |||
22 | If the task is a value task and there are more than one task created at |
||
23 | the same time, a group activation is performed. |
||
24 | |||
25 | -------------------------------------------------------------------------- |
||
26 | |||
27 | The first line contains the number of tasks to be created. |
||
28 | |||
29 | -------------------------------------------------------------------------- |
||
30 | |||
31 | Number of tasks: 6 |
||
32 | |||
33 | time hard/value dline wcet iterations value penalty |
||
34 | 1000000 0 50000 2000 200 0 0 |
||
35 | |||
36 | 1300000 0 50000 2000 200 0 0 |
||
37 | 1300000 1 100000 5000 2000000 1 10 |
||
38 | 1300000 1 100000 5000 3000 2 20 |
||
39 | 3000000 1 100000 5000 3000 4 40 |
||
40 | 5000000 0 100000 5000 3000 0 0 |
||
41 |