Since virtual memory works so well behind the scenes

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: he time spent handling timer interrupts. This requires determining two factors. 9.4. MEASURING PROGRAM EXECUTION TIME WITH CYCLE COUNTERS 471 Pentium III, Linux K=1 100 100 Pentium III, Linux K=2 10 Measured:Expected Error Measured:Expected Error 10 1 0.1 Load 1 Load 2 Load 11 1 0.1 Load 1 Load 2 Load 11 0.01 0.01 0.001 0 2 4 6 8 10 Expected CPU Time (ms) 0.001 0 2 4 6 8 10 Expected CPU Time (ms) Pentium III, Linux K=3 100 100 Pentium III, Linux K=5 10 Measured:Expected Error Measured:Expected Error 10 1 0.1 Load 1 Load 2 Load 11 1 Load 1 Load 2 Load 11 0.1 0.01 0.01 0.001 0 2 4 6 8 10 Expected CPU Time (ms) 0.001 0 2 4 6 8 10 Expected CPU Time (ms) Figure 9.15: Effectiveness of à -best scheme for different values of à . à must be at least 2 to have reasonable accuracy. Values greater than 2 help on heavily loaded systems as the program times approach the timer interval. 472 CHAPTER 9. MEASURING PROGRAM EXECUTION TIME Intel Pentium III, Linux Compensate for Timer Interrupt Handling 100 10 Measured:Expected Error 1 Load 1 Load 2 Load 11 0.1 0.01 0.00...
View Full Document

Ask a homework question - tutors are online