Gwinel / likwid

Automatically exported from code.google.com/p/likwid
GNU General Public License v3.0
0 stars 0 forks source link

Timer module may face undeflow #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The current timer module may produce underflow situations with very short 
runtimes.

Solution:

Change the timer module to produce stable results. 

Original issue reported on code.google.com by jan.trei...@gmail.com on 25 Sep 2013 at 8:26

GoogleCodeExporter commented 9 years ago
Solution:

Replace timer routine with variant introduced in Intel whitepaper:

How to Benchmark Code Execution Times on Intel IA-32 and IA-64 Instruction Set 
Architectures

Clamp result to zero.

Original comment by jan.trei...@gmail.com on 14 Oct 2013 at 1:30

GoogleCodeExporter commented 9 years ago
This issue was closed by revision ed17be014284.

Original comment by jan.trei...@gmail.com on 14 Nov 2013 at 12:52

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 1d718ba0a439.

Original comment by jan.trei...@gmail.com on 14 Nov 2013 at 12:52