Messages in this thread | | | From | Namhyung Kim <> | Subject | Re: [PATCH 10/10] perf tests: Use lower sample_freq in sw clock event period test | Date | Fri, 15 Nov 2013 15:03:54 +0900 |
| |
Hi Arnaldo,
On Tue, 12 Nov 2013 11:41:01 -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 12, 2013 at 09:07:36AM +0200, Adrian Hunter escreveu: >> -#define NR_LOOPS 1000000 >> +#define NR_LOOPS 10000000 > > Lower frequency, need to generate more noise, ugh. Adding that, but I > think this test needs to be reworked, Namhyung?
Hmm.. We might go back to use the default frequency of 4000 (or 1000) and make the loop based on time like using alarm or setitimer.
Or we can add an outer loop which doubles the inner loop counter if no samples are collected.
What do you think?
Thanks, Namhyung
| |