It's UWAweek 8

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


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported

Login to reply

👍?
helpful
4:21am Fri 8th Sep, Christopher M.

Hello Luyang, "Luyang Chen" <23*2*3*2@s*u*e*t*u*a*e*u*a*> wrote:
> in shortsleep command, the procedure should be ready to process(10usecs)→sleep(20usecs)→after sleep(1000020usecs)→before exit(1000060usecs) > > but what I got from the smaple solution for only shortsleep command is 1000073usecs, is that means exit takes another 10 usecs? And if I try to add another longsleep command like this: > > ..... > > What I got is always 50usecs more than the sample solution, is there any manipulations can be done in different commands at the same time? or is there any manipulations can be done within the sleep time? I'm wondering where I got this 50usecs more? Thanks!
If you run the sample solution in 'verbose mode', it will display (and hopefully explain) the times when each activity commences and finishes. Have you tried that?

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