Re: [eigen] Help needed to run a benchmark on many machines

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


         double starttime = time();
         for (int i = 0; i < iters_at_a_time; i++) {
           c = a * b;
         }
         double endtime = time();
....
(4M) on a typical ARM CPU (1M cache). But indeed, my benchmark also aims
to measure much smaller cases, so that's a problem. Any suggestions
welcome on how to address this!

Maybe fill vector<T> a, b, c; with more data than e.g. 16 MB and use c[i] = a[i] * b[i] in the loop? If that doesn't show a large difference then perhaps it's not something to worry about at this stage.
Ilja



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/