It's UWAweek 8


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 35 (2nd semester, week 6) ↓
SVG not supported

Login to reply

5:09am Mon 28th Aug, Christopher M.

"Jacob Read" <23*7*9*6@s*u*e*t*u*a*e*u*a*> wrote:
> Also, another question is when performing IO, the amount of time it takes is often not an integer, so should this just be rounded and then added to the system time as an integer, or should it be rounded up consistently, or should the system time be a double to store it more accurately?
Times are measured in integers. It makes no sense to think of them as floating-point values, or to consider rounding. If the 'precise time' is actually 14.2usecs, then it certainly hasn't finished by 14usecs.

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