Anna Savarin
as1472@nyu.edu
917-445-2575

Computer Systems Organization II
Professor Chee Yap
Fall 2006
HW #2


The input provided by the Makefile runs in a fairly short amount of time.  The
program provides two types of times: clock time and wall time.  Although the
clock time should be less than (or, for safety, less than or equal to) the wall
time, this is not the case.  The reason is that different precisions are used
to record the time and the wall time is rounded to the nearest second while
the clock time seems to report to at least two digits of accuracy.  In any 
case, the experiments can be replicated by typing "make time PLATFORM={unix,
cygwin}" at the command line and will show that the time taken to compute
the GCD is different even on the same inputs from one run to another.  Before 
"make time," please compile by running "make." 

The hard copy of the HW will not be handed in on Friday, as previously dis-
cussed with the grader.  The reason is that, as a commuter, I do not have
the ability to slip the HW under the door on the day it is due but will make
time management considerations to do so in the future.  Therefore, I am
including the Questions.txt file in the HW submitted via e-mail.

In gcd.c, the setFlag routine was provided by Professor Yap in hw2 and
the syserr routine came in the fork.c file from HW1.