Subversion Repositories shark

Rev

Rev 1531 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1528 trimarchi 1
# CONTRACT SECTION
2
#
3
# CONTRACT NUMBER:CMIN:TMAX:CMAX:TMIN:WORKLOAD:DEADLINE:LOCAL SCHEDULER
4
#
5
# YOU WILL HAVE A SERVER FOR EACH SPECIFIED CONTRACT,
6
# SO IN THE TASK SECTION YOU CAN SPECIFY THE "CONTRACT NUMBER"
7
# INSTEAD OF THE SERVER NUMBER, WHICH IS CALCULATED INSIDE THE
8
# LOADER
9
#
10
# ALL THE TIME PARAMETERS INSIDE THIS FILE ARE ALWAYS EXPRESSED AS
11
# "[SECONDS][MICROSECONDS]" TO AVOID FLOATING POINT CALCULATIONS
12
#
13
# WORKLOAD
14
#  0 BOUNDED
15
#  1 INDETERMINATED
16
#
17
# LOCAL SCHEDULER
18
#  POSIX  - DEFAULT FOR THE FRAMEWORK
19
#  EDF
20
#  RM
21
#
22
# TASK SECTION
23
#
24
# TASK TYPE:CONTRACT NUMBER:LOCAL SCHEDULER:NUMBER OF TASK:DEADLINE:WCET:TASK ACT TYPE (PAR1,PAR2,...):
25
# :TASK EXEC TYPE (PAR1,PAR2,...):CRITICAL SESSION (PAR1,PAR2,PAR3,PAR4);
26
#
27
# TASK TYPE
28
# OS - ONE_SHOT
29
# CT - CYCLICAL_TASK
30
# BT - BACKGROUND_TASK
31
#
32
# TASK EXEC TYPE
33
# EXEC_CONST(TIME)
34
#   - CONSTANT EXEC TIME
35
# EXEC_MEAN(MEAN, DELTA)
36
#   - VARIABLE EXEC TIME WITH CONSTANT DISTRIBUTION
37
#
38
# TASK ACTIVATION TIME
39
# ACT_SINGLE(START_TIME)
40
# ACT_PERIODIC(START_TIME, PERIOD)
41
# ACT_MEAN(START_TIME, MEAN, DELTA)
42
#
43
# CRITICAL SESSION
44
# CRIT(RES NUMBER, BLOCKING_TIME)
45
# NO_CRIT
46
#
47
 
1529 giacomo 48
TOTAL_EXEC_TIME:[20][0];
1528 trimarchi 49
# SIMULATION TOTAL TIME
50
 
51
CONTRACT SECTION
52
 
1531 giacomo 53
[0]:[0][6000]:[0][30000]:[0][6000]:[0][30000]:[0]:[0][0]:EDF;
54
[1]:[0][6000]:[0][60000]:[0][6000]:[0][60000]:[0]:[0][0]:EDF;
55
[2]:[0][12000]:[0][60000]:[0][12000]:[0][60000]:[0]:[0][0]:POSIX;
1528 trimarchi 56
 
57
END
58
 
59
TASK SECTION
60
 
1533 giacomo 61
CT:[0]:EDF:[3]:[1][0]:[0][40000]:ACT_PERIODIC([1][0],[1][0]):
62
:EXEC_CONST([0][16000]):CRIT([0],[0][2000]);
1528 trimarchi 63
 
1533 giacomo 64
CT:[1]:EDF:[7]:[1][0]:[0][40000]:ACT_PERIODIC([2][0],[1][0]):
65
:EXEC_MEAN([0][16000],[0][10000]):CRIT([0],[0][2000]);
1528 trimarchi 66
 
1533 giacomo 67
BT:[2]:POSIX:[2]:[0][0]:[0][0]:ACT_SINGLE([3][0]):
68
:EXEC_CONST([0][10000]):CRIT([0],[0][2000]);
1528 trimarchi 69
 
70
END
71