Re: [PATCH][v4] tools/power turbostat: if --iterations, print for specific time of iterations

2018-04-13 Thread Rafael J. Wysocki
On Friday, April 13, 2018 5:40:47 AM CEST Yu Chen wrote: > From: Chen Yu > > There's a use case during test to only print specific round of iterations > if --iterations is specified, for example, with this patch applied: > > turbostat -i 5 -I 4 > will capture 4 samples with

Re: [PATCH][v4] tools/power turbostat: if --iterations, print for specific time of iterations

2018-04-13 Thread Rafael J. Wysocki
On Friday, April 13, 2018 5:40:47 AM CEST Yu Chen wrote: > From: Chen Yu > > There's a use case during test to only print specific round of iterations > if --iterations is specified, for example, with this patch applied: > > turbostat -i 5 -I 4 > will capture 4 samples with 5 seconds interval.

Re: [PATCH][v4] tools/power turbostat: if --iterations, print for specific time of iterations

2018-04-13 Thread Artem Bityutskiy
On Fri, 2018-04-13 at 11:40 +0800, Yu Chen wrote: > diff --git a/tools/power/x86/turbostat/turbostat.c > b/tools/power/x86/turbostat/turbostat.c > index bd9c6b31a504..a2fe96f038f0 100644 > --- a/tools/power/x86/turbostat/turbostat.c > +++ b/tools/power/x86/turbostat/turbostat.c > @@ -48,6 +48,7

Re: [PATCH][v4] tools/power turbostat: if --iterations, print for specific time of iterations

2018-04-13 Thread Artem Bityutskiy
On Fri, 2018-04-13 at 11:40 +0800, Yu Chen wrote: > diff --git a/tools/power/x86/turbostat/turbostat.c > b/tools/power/x86/turbostat/turbostat.c > index bd9c6b31a504..a2fe96f038f0 100644 > --- a/tools/power/x86/turbostat/turbostat.c > +++ b/tools/power/x86/turbostat/turbostat.c > @@ -48,6 +48,7

[PATCH][v4] tools/power turbostat: if --iterations, print for specific time of iterations

2018-04-12 Thread Yu Chen
From: Chen Yu There's a use case during test to only print specific round of iterations if --iterations is specified, for example, with this patch applied: turbostat -i 5 -I 4 will capture 4 samples with 5 seconds interval. Cc: Len Brown Cc: Rafael J

[PATCH][v4] tools/power turbostat: if --iterations, print for specific time of iterations

2018-04-12 Thread Yu Chen
From: Chen Yu There's a use case during test to only print specific round of iterations if --iterations is specified, for example, with this patch applied: turbostat -i 5 -I 4 will capture 4 samples with 5 seconds interval. Cc: Len Brown Cc: Rafael J Wysocki Cc: Artem Bityutskiy Cc: Doug