<div dir="rtl"><div dir="ltr">The usual method of dealing with ever-changing computing power is to have the benchmark run for a fixed time and measure how many iterations were performed during that time.</div><div dir="ltr">

<br></div><div dir="ltr">Yaron</div><div dir="ltr"><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div dir="ltr">2013/10/30 Hal Finkel <span dir="ltr"><<a href="mailto:hfinkel@anl.gov" target="_blank">hfinkel@anl.gov</a>></span></div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">----- Original Message -----<br>
><br>
> On Oct 30, 2013, at 4:13 PM, Hal Finkel <<a href="mailto:hfinkel@anl.gov">hfinkel@anl.gov</a>> wrote:<br>
><br>
> > ----- Original Message -----<br>
> >> Hi all,<br>
> >><br>
> >> SingleSource/Benchmark/Linpack is broken as a performance<br>
> >> benchmark.<br>
> >> It uses the time to execute a set of functions to determine the<br>
> >> time<br>
> >> to run another set of functions.<br>
> >><br>
> >> The attached patch fixes this by setting “ntimes” to arbitrary<br>
> >> 10000.<br>
> >> The benchmark then runs in about 30 secs on a recent mac.<br>
> ><br>
> > 30 seconds sounds good to me. However, some of the embedded folks<br>
> > may complain ;) -- We should probably have it depend on whether<br>
> > SMALL_PROBLEM_SIZE is in effect or not. (You can add a<br>
> > preprocessor define in the makefile when SMALL_PROBLEM_SIZE is<br>
> > defined, and let that set it to be a factor of 10 smaller).<br>
><br>
> Sure,<br>
><br>
> most benchmarks I have seen seem to simply put a “#ifdef<br>
> SMALL_PROBLEM_SIZE” in the c source it self. So I did that.<br>
<br>
</div></div>Great, LGTM.<br>
<br>
Thanks,<br>
Hal<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
><br>
<br>
--<br>
Hal Finkel<br>
Assistant Computational Scientist<br>
Leadership Computing Facility<br>
Argonne National Laboratory<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>