Re: [PATCH][RFC] tools/power turbostat: if --max_loop, print for specific time of loops

From: Artem Bityutskiy
Date: Tue Apr 10 2018 - 06:53:46 EST


On Tue, 2018-04-10 at 12:22 +0200, Rafael J. Wysocki wrote:
> On Tue, Apr 10, 2018 at 12:18 PM, Yu Chen <yu.c.chen@xxxxxxxxx>
> wrote:
> > From: Chen Yu <yu.c.chen@xxxxxxxxx>
> >
> > There's a use case during test to only print specific round of
> > loops
> > if --interval is specified, for example, with this patch applied:
> >
> > turbostat -i 5 --max_loops 4
> > will capture 4 samples with 5 seconds interval.
>
> Why --max_loops and not just --loops or --iterations?

Or just --count.

Artem.