It's UWAweek 9 (1st semester, week 1)

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 1168 articles.
Currently 1 other person reading this forum.


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported

Login to reply

👍x1
helpful
12:49pm Sun 27th Aug, Jacob R.

I have some questions about the sample solution for myscheduler. When sleeping a specific process, it doesn't seem to take into account the 10 microseconds required to move the process from running into blocked, before sleeping. Should we also not account for this? Also, I don't understand where the project is gaining the extra 2 microseconds from (this is using the standard example sysconfig and commands list). Like it can go from 1 to 5 to first go into the running state, and then takes 10 microseconds to execute the sleeping syscall, which would be 16-25, right? For example, my version of the project would give measurements of 1000080 0. Because it would add 10 microseconds because of moving the running process into blocked, but it wouldn't have the additional 2 microseconds.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy