You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.txt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -59,9 +59,11 @@ For a given in-phase input task set consisting of periodic tasks [Read the input
59
59
* utilityFunctions.c - Some utility functions.
60
60
* printInfo.c - Prints the data in the ADTs and the scheduling information onto the output file.
61
61
* scheduler.c - The module associated with the scheduling of periodic + non-periodic jobs
62
+
62
63
#### Once the program is compiled
63
64
* executableName (variable in the Makefile) - The final executable.
64
65
* .o files for all .c files
66
+
65
67
#### Once the program is run
66
68
* outputFile (variable in the Makefile) - The output file.
67
69
* periodicSchedule.txt - The file containing the information about every frame and the periodic tasks in them.
@@ -96,6 +98,7 @@ For a given in-phase input task set consisting of periodic tasks [Read the input
96
98
10 3.5 10
97
99
20 0.9 20
98
100
We could get away with splitting jobs of T2 into 4. But the INF algorithm might choose to split T2 into 3 and T3 into 2.
101
+
13. This simulation does not consider any I/O operations or any voluntary suspensions by any jobs which is not the norm in the real world systems.
99
102
100
103
101
104
@@ -112,7 +115,4 @@ Please change the input files according to convenience and in the right format.
112
115
## Inputs required
113
116
1. periodicTasks.txt (CLI argument): First line should have the number of tasks in the task set. Subsequent lines should have 3 integers- period, wcet and relative deadline respectively.
114
117
2. APERIODIC_JOB_FILE: First line should have the number of tasks in the task set. Subsequent lines should have 2 integers- arrival time and execution time respectively.
115
-
3. SPORADIC_JOB_FILE: First line should have the number of tasks in the task set. Subsequent lines should have 3 integers- arrival time, execution time and absolute deadline respectively.
116
-
117
-
118
-
### Known bugs
118
+
3. SPORADIC_JOB_FILE: First line should have the number of tasks in the task set. Subsequent lines should have 3 integers- arrival time, execution time and absolute deadline respectively.
Copy file name to clipboardExpand all lines: scheduler.c
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -218,7 +218,7 @@ SporadicJob
218
218
{
219
219
if (sporadicJobs[i].alive&&sporadicJobs[i].accepted&& !sporadicJobs[i].rejected&&sporadicJobs[i].startFrame <= frameNum&&sporadicJobs[i].maxFrame>frameNum)
0 commit comments