Skip to content

Commit de03bd3

Browse files
authored
Update README.md
1 parent d4e8251 commit de03bd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ A simulation of a simple multiprogramming batch operating system. The system har
55

66
The simulation covers process scheduling, and the operating system maintains a single ready queue. Moreover, the CPU Scheduler follows the First-Come, First-Served (FCFS) scheduling algorithm policy.
77

8-
# Input
8+
## Input
99
In the beginning of the simulation, the program generates a file "Jobs.txt" containing a number of jobs (at least 100) each along with the following specifications:
1010
- Job ID (JID): a unique identification number for the job.
1111
- Expected CPU usage (ECU): the expected execution time (in units). This should be no greater than the actual CPU usage (CUT). The ECU is generated randomly with a uniform distributed between 16 and 512 units.
1212
- Expected memory requirement (EMR): the memory (in KB) needed by the program. The EMR is generated randomly with a uniform distributed between 16 KB and 256 KB.
1313

14-
# Output
14+
## Output
1515
The program writes the statistics as follows in the output file "Results.txt":
1616
- Total number of jobs processed.
1717
- Average/Minimum/Maximum job size in KB.

0 commit comments

Comments
 (0)