Extra Credit - Test timing on fork and thread creation. First, a very serious warning. DO NOT run your code until it is approved by Dr. Ramsey. Failure to do this may result in extreme penalties to your grade and possible failure (beyond this assignment). You are learning, and accidents happen, but you have a resource to limit those accidents and thus you must use it. Failure to do so may hamper resources on campus and this is not acceptable and thus will take its toll on your grade. Make a report for the amount of time it takes to create 250 processes versus 1,000 threads and answer the following questions: First, record 3 different timings of each. How much time did one thread creation take? How much time did one process creation take? Do these results match your intuition? Why do you believe the results came out the way they did? Can these results be trusted to be accurate? Why or why not? ------- Linux provides us with moderate timing support, it is likely only accurate to the millisecond. These are the calls you should use: clock() <-- returns number of clock ticks since process began. CLOCKS_PER_SEC <-- number of clock ticks per second So you might write: /*****************************************************************************/ int s = clock(); //when to start timer //do some stuff here int e = clock(); //when to end timer //e-s is then clock ticks that have passed between e and s. //totaltime will be the time in seconds between e and s. double totaltime = (double)(e-s)/(CLOCKS_PER_SEC);