From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yu Chen Subject: Re: [PATCH][RFC] tools/power turbostat: if --max_loop, print for specific time of loops Date: Tue, 10 Apr 2018 20:19:49 +0800 Message-ID: <20180410121949.GA29464@yu-chen.sh.intel.com> References: <20180410101831.28530-1-yu.c.chen@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: "Rafael J. Wysocki" Cc: Len Brown , "Rafael J . Wysocki" , Artem Bityutskiy , Linux PM , Linux Kernel Mailing List List-Id: linux-pm@vger.kernel.org On Tue, Apr 10, 2018 at 12:22:16PM +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? > I thought -l has been used already. OK, changed to --interation and -t respectively. Thanks!