It's UWAweek 10 (1st semester, week 2)


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 2 other people reading this forum.

 UWA week 34 (2nd semester, week 5) ↓
SVG not supported

Login to reply

5:18pm Thu 24th Aug, Christopher M.

> When it comes to the spawn system call does the child process execute immediately and runs independently of the parent process?
A good question. I'll decide whether the parent or child runs next, and add the 'answer' to the Clarifications.
> Does the parent process also continue execution without waiting for the child process to complete?
Yes, the parent only waits for the child if the parent calls wait.
> For CPU Measurement is the total time the CPU spends executing the process divided by the total time of emulation, the right way of going about it
Yes, the ratio of CPU-time-consumed-by-all-processes and the difference-bewteen-booting-and-completing-all-processes. As time is (nearly) always consumed when switching states, and when having nothing to do except wait for something to happen, the ratio will (nearly) always be less than 100%.

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