From mboxrd@z Thu Jan 1 00:00:00 1970 From: Artem Bityutskiy Subject: Re: [PATCH][RFC] tools/power turbostat: if --max_loop, print for specific time of loops Date: Tue, 10 Apr 2018 13:53:35 +0300 Message-ID: <1523357615.2753.188.camel@gmail.com> References: <20180410101831.28530-1-yu.c.chen@intel.com> Reply-To: dedekind1@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: "Rafael J. Wysocki" , Yu Chen Cc: Len Brown , "Rafael J . Wysocki" , Linux PM , Linux Kernel Mailing List List-Id: linux-pm@vger.kernel.org On Tue, 2018-04-10 at 12:22 +0200, Rafael J. Wysocki wrote: > On Tue, Apr 10, 2018 at 12:18 PM, Yu Chen > wrote: > > From: Chen Yu > > > > 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.