In order to manage memory more efciently and robustly

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: upper limit of times for which our scheme can get useful results. When we have à ½, the procedure returns after making a single measurement. This can yield highly erratic results, especially when the machine is heavily loaded. If a timer interrupt happens to occur, the result is extremely inaccurate. Even without such a catastrophic event, the measurements will be subject to many sources of inaccuracy. Setting à to 2 greatly improves the accuracy. For execution times less than 5 ms, we consistently get accuracy better than 0.1%. Setting à even higher gives better results, both in consistency and accuracy, up to a limit of around 8 ms. These experiments show that our initial guess of à ¿ is a reasonable choice. Compensating for Timer Interrupt Handling The timer interrupts occur in a predictable way and cause a large systematic error in our measurements for execution times over around 7 ms. It would be good to remove this bias by subtracting from the measured run time for a program an estimate of t...
View Full Document

Ask a homework question - tutors are online