Subversion Repositories shark

Rev

Blame | Last modification | View Log | RSS feed

# CONTRACT SECTION
# 
# CONTRACT NUMBER:CMIN:TMAX:CMAX:TMIN:WORKLOAD:DEADLINE:LOCAL SCHEDULER
# 
# YOU WILL HAVE A SERVER FOR EACH SPECIFIED CONTRACT,
# SO IN THE TASK SECTION YOU CAN SPECIFY THE "CONTRACT NUMBER" 
# INSTEAD OF THE SERVER NUMBER, WHICH IS CALCULATED INSIDE THE 
# LOADER 
#
# ALL THE TIME PARAMETERS INSIDE THIS FILE ARE ALWAYS EXPRESSED AS 
# "[SECONDS][MICROSECONDS]" TO AVOID FLOATING POINT CALCULATIONS
#
# WORKLOAD
#  0 BOUNDED
#  1 INDETERMINATED 
#
# LOCAL SCHEDULER
#  NONE  - DEFAULT FOR THE FRAMEWORK
#  POSIX
#  EDF
#  RM
#
# TASK SECTION
#
# TASK TYPE:CONTRACT NUMBER:LOCAL SCHEDULER:NUMBER OF TASK:DEADLINE:WCET:TASK ACT TYPE (PAR1,PAR2,...):
# :TASK EXEC TYPE (PAR1,PAR2,...):CRITICAL SESSION (PAR1,PAR2,PAR3,PAR4);
#
# TASK TYPE
# OS - ONE_SHOT
# CT - CYCLICAL_TASK
# BT - BACKGROUND_TASK
#
# TASK EXEC TYPE
# EXEC_CONST(TIME) 
#   - CONSTANT EXEC TIME
# EXEC_MEAN(MEAN, DELTA) 
#   - VARIABLE EXEC TIME WITH CONSTANT DISTRIBUTION
#
# TASK ACTIVATION TIME
# ACT_SINGLE(START_TIME)
# ACT_PERIODIC(START_TIME, PERIOD)
# ACT_MEAN(START_TIME, MEAN, DELTA)
#
# CRITICAL SESSION
# CRIT(RES NUMBER, BLOCKING_TIME)
# NO_CRIT
#

TOTAL_EXEC_TIME:[20][0];
# SIMULATION TOTAL TIME

CONTRACT SECTION

[0]:[0][9000]:[0][30000]:[0][9000]:[0][30000]:[0]:[0][0]:EDF;
[1]:[0][9000]:[0][30000]:[0][9000]:[0][30000]:[0]:[0][0]:EDF;
[2]:[0][6000]:[0][60000]:[0][6000]:[0][60000]:[0]:[0][0]:POSIX;

END

TASK SECTION

CT:[0]:EDF:[2]:[0][100000]:[0][40000]:ACT_PERIODIC([0][0],[0][100000]):
:EXEC_MEAN([0][8000]:[0][14000]):NO_CRIT;

CT:[1]:EDF:[2]:[0][100000]:[0][40000]:ACT_PERIODIC([0][0],[0][100000]):
:EXEC_MEAN([0][8000]:[0][14000]):NO_CRIT;

BT:[2]:POSIX:[2]:[0][0]:[0][0]:ACT_SINGLE([0][0]):
:EXEC_CONST([0][10000]):NO_CRIT;

END