All of lore.kernel.org
 help / color / mirror / Atom feed
* ratio of progress of the counters
@ 2013-10-31 16:39 José Simão
  2013-11-01 19:35 ` Andi Kleen
  0 siblings, 1 reply; 3+ messages in thread
From: José Simão @ 2013-10-31 16:39 UTC (permalink / raw)
  To: linux-perf-users

Dear all,

I'm trying to collect ASCII-based progress information regarding a set
of performance counters. "Progress" means, for example, the ratios of
values/second (e.g. page faults/seconds).

I can get information in this form using 'perf stat' but 'stat' only
gives me the final value. I would like to collect, or calculate,
theses values from the running command and determine how these metrics
evolved over time (i.e. faster or slower).

Is this possible (or eventually trivial) with the perf tool?

Thank you,
José

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ratio of progress of the counters
  2013-10-31 16:39 ratio of progress of the counters José Simão
@ 2013-11-01 19:35 ` Andi Kleen
  2013-11-04 15:12   ` José Simão
  0 siblings, 1 reply; 3+ messages in thread
From: Andi Kleen @ 2013-11-01 19:35 UTC (permalink / raw)
  To: José Simão; +Cc: linux-perf-users

José Simão <jose.m.simao@gmail.com> writes:

> Dear all,
>
> I'm trying to collect ASCII-based progress information regarding a set
> of performance counters. "Progress" means, for example, the ratios of
> values/second (e.g. page faults/seconds).
>
> I can get information in this form using 'perf stat' but 'stat' only
> gives me the final value. I would like to collect, or calculate,
> theses values from the running command and determine how these metrics
> evolved over time (i.e. faster or slower).

Newer perf stat has a -I (interval) option for this.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ratio of progress of the counters
  2013-11-01 19:35 ` Andi Kleen
@ 2013-11-04 15:12   ` José Simão
  0 siblings, 0 replies; 3+ messages in thread
From: José Simão @ 2013-11-04 15:12 UTC (permalink / raw)
  To: Andi Kleen; +Cc: linux-perf-users

On Fri, Nov 1, 2013 at 7:35 PM, Andi Kleen <andi@firstfloor.org> wrote:
> José Simão <jose.m.simao@gmail.com> writes:
>
>> Dear all,
>>
>> I'm trying to collect ASCII-based progress information regarding a set
>> of performance counters. "Progress" means, for example, the ratios of
>> values/second (e.g. page faults/seconds).
>>
>> I can get information in this form using 'perf stat' but 'stat' only
>> gives me the final value. I would like to collect, or calculate,
>> theses values from the running command and determine how these metrics
>> evolved over time (i.e. faster or slower).
>
> Newer perf stat has a -I (interval) option for this.

Thank you for your answer.

How can I get more information regarding the update of my system to
use this new version of perf?

Regards,
José

>
> -Andi
>
> --
> ak@linux.intel.com -- Speaking for myself only

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-04 15:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-31 16:39 ratio of progress of the counters José Simão
2013-11-01 19:35 ` Andi Kleen
2013-11-04 15:12   ` José Simão

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.