📄 readme
字号:
Autor: Ismael Ripoll.Date: 19 Marzo,1994 This is a description of the input file format used by theprogram that displays the simulation of a scheduler. The file isparsed by a yacc program, in this way, is pretty easy to add morefeatures to the displayer (program that draws the simulation). Is currently avalible a progran that produces X graphic andPostScript output of this kind of files (called crono). If you are doing some scheduling simulation and you want to seegraphicaly your results then use this format. File Program File Program (crono)+-------------+ +-----------+ +-----------+ +---------+| Tasks |--> | Simulator |-->| Simulator |-->| Graphic |--> Screen| Description | +-----------+ | Output | | Program |--> Printer+-------------+ +-----------+ +---------+ This document describes the format of the "Simulator Output" fileread by the "Graphic program". BNF-like syntax of the file:--------------------------------------------------------------------------------FILE ::= HEADER ":BODY" EXECUTIONHEADER ::= HEADER LINE_HEADLINE_HEAD ::= "TASK" task_num IDEN // Assign a string to the task number | "RESOURCE" res_num IDEN // Assign a string to the resource number | COMMENTEXECUTION ::= EXECUTION LINE_BODY LINE_BODY ::= "ACTI" task_num time_start abs_deadline // Signal a task request | "END" task_num time // Signal an activation completion | "EXEC" task_num time_start time_end // Task execution. | COMMENTCOMMENT ::= From the symbol "#". til the end of the line.-------------------------------------------------------------------------------- Here there is an example file:--------------------------------------------------------------------------------# Name: Out.sim# Example fileTASK 1 "Clock" # Comment after a description line.TASK 2 "Jolts"# This file has no resources.# all the task must be declared before the body part.:BODYACTI 1 0 40 EXEC 1 0 5END 1 5ACTI 2 0 40 EXEC 2 5 20END 2 20ACTI 2 80 110 EXEC 2 80 95ACTI 2 120 160 EXEC 2 120 140ACTI 1 200 230 EXEC 1 200 220--------------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -