First os available.


R. Clayton (rclayton@clayton.cs.monmouth.edu)
(no date)


My implementation of the assignment 1 operating system is available in

  /export/home/class/cs-438-505/misc/os1

In addition to the debug flags given in utils.h, it also recognizes f28, which
prints message behavior

  $ /e*/h*/c*/*5/misc/os1 -Df28 -d /e*/h*/c*/*5/dev*/pa1-circle.dsk
  At time 37, message (1, 0) put into the pool.
  At time 57, message (1, 0) removed from the pool.
  At time 69, message (2, 1) put into the pool.
  At time 80, message (2, 1) removed from the pool.
  At time 92, message (3, 10) put into the pool.
  At time 103, message (3, 10) removed from the pool.
  At time 115, message (4, 83) put into the pool.
  At time 126, message (4, 83) removed from the pool.
  At time 139, message (0, 668) put into the pool.
  At time 139, message (0, 668) removed from the pool.
  At time 153, message (1, 111) put into the pool.
  At time 153, message (1, 111) removed from the pool.
  At time 167, message (2, 111) put into the pool.
  At time 167, message (2, 111) removed from the pool.
  At time 182, message (3, 111) put into the pool.
  At time 182, message (3, 111) removed from the pool.
  At time 197, message (4, 111) put into the pool.
  At time 197, message (4, 111) removed from the pool.
  At time 213, message (0, 111) put into the pool.
  At time 213, message (0, 111) removed from the pool.

  The system is halted.
  Total execution time: 225 ticks, idle time: 39 ticks (17%).

  $

and f29, which prints process behavior

  $ /e*/h*/c*/*5/misc/os1 -Df29 -d /e*/h*/c*/*5/dev*/pa1-circle.dsk
  At time 0, process 0 runs.
  At time 32, process 1 runs.
  At time 42, process 0 runs.
  At time 54, process 2 runs.
  At time 77, process 3 runs.
  At time 100, process 4 runs.
  At time 123, process 5 runs.
  At time 146, process 1 runs.
  At time 158, process 2 runs.
  At time 173, process 2 exits.
  At time 173, process 3 runs.
  At time 188, process 3 exits.
  At time 188, process 4 runs.
  At time 203, process 4 exits.
  At time 203, process 5 runs.
  At time 219, process 5 exits.
  At time 219, process 1 runs.
  At time 225, process 1 exits.
  At time 225, process 0 runs.

  The system is halted.
  Total execution time: 225 ticks, idle time: 39 ticks (17%).

  $

I'll also make the source available as soon as I make available the three
programs I owe 509.



This archive was generated by hypermail 2.0b3 on Mon Dec 17 2001 - 19:30:04 EST