How to Benchmark Code Execution Times on Intel IA-32 and IA-64 ...
How to Benchmark Code Execution Times on Intel IA-32 and IA-64 ...
How to Benchmark Code Execution Times on Intel IA-32 and IA-64 ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<str<strong>on</strong>g>How</str<strong>on</strong>g> <str<strong>on</strong>g>to</str<strong>on</strong>g> <str<strong>on</strong>g>Benchmark</str<strong>on</strong>g> <str<strong>on</strong>g>Code</str<strong>on</strong>g> <str<strong>on</strong>g>Executi<strong>on</strong></str<strong>on</strong>g> <str<strong>on</strong>g>Times</str<strong>on</strong>g> <strong>on</strong> <strong>Intel</strong> ® <strong>IA</strong>-<strong>32</strong><br />
<strong>and</strong> <strong>IA</strong>-<strong>64</strong> Instructi<strong>on</strong> Set Architectures<br />
Figure 5. Minimum Value Behavior Graph 5<br />
graph5<br />
250<br />
200<br />
clock cycles<br />
150<br />
100<br />
minimum value<br />
50<br />
0<br />
1 53 105 157 209 261 313 365 417 469 521 573 625 677 729 781 833 885 937 989<br />
ensembles<br />
Figure 6. Variance Behavior Graph 6<br />
graph6<br />
clock cycles<br />
34<br />
<strong>32</strong><br />
30<br />
28<br />
26<br />
24<br />
22<br />
20<br />
18<br />
16<br />
14<br />
12<br />
10<br />
8<br />
6<br />
4<br />
2<br />
0<br />
1 59 117 175 233 291 349 407 465 523 581 639 697 755 813 871 929 987<br />
ensembles<br />
variance<br />
In Figure 5, we can see how the minimum value is perfectly c<strong>on</strong>stant between<br />
ensembles. In Figure 6, we have the variance being either equal <str<strong>on</strong>g>to</str<strong>on</strong>g> 3 or 4 clock<br />
cycles.<br />
23