It's UWAweek 19

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


SVG not supported

Login to reply

👍?
helpful
2:13pm Wed 13th Sep, ANONYMOUS

Hi Chris, I am not sure if you classify this as an error or not, whenever we run a command that requires multiple read and writes and acquiring DATABUS bus and whilst the next process runs as the I/O is working in the back, the acquiring DATABUS uses the last second of its transition such as the 246usec in the picture shown as a second in its process time, which theoretically shouldn't be happening. As this example should be idle from 247(including)... 566(including) which is exactly 320usecs and then at 567 it should declare it has finished. However the sample solution includes from (246...565) as idle then uses 566 to declare it has finished as shown in the second picture My code shown in the second picture doesn't do that and so it is off by 1 second per syscall that requires the data bus. Is it supposed to take the last second of the transition time as its first time inside the blocked queue reading/writing? Additionally is there any leniency for marking when your time is off by 1 second?



This article has 4 attachments:

 

 

 

 

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  8:08AM Aug 25 2024
Privacy policy