linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Milian Wolff <mail@milianw.de>
To: Jerome Correnoz <jerome.correnoz@st.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: Is it possible to get (or compute) the consummed CPU with perf ?
Date: Tue, 18 Nov 2014 18:51:34 +0100	[thread overview]
Message-ID: <1843797.nOROaMLjlR@milian-kdab2> (raw)
In-Reply-To: <loom.20141118T183130-762@post.gmane.org>

On Tuesday 18 November 2014 17:31:47 Jerome Correnoz wrote:
> Jerome Correnoz <jerome.correnoz <at> st.com> writes:
> > Hi,
> > 
> > We're interested to know the CPU load/usage on our ARMv7 embedded system
> > when running some use cases (e.g. simple video decode, double video
> > decode, etc.). By CPU load, I mean a way to measure the time when the
> > system was doing something else than Idle.
> > 
> > I've tried to get it from the performance counter statistics but
> 
> couldn't
> 
> > find a way to get it, do I miss something ?
> > 
> > Also tried to use perf for profiling the system (e.g. perf record -a).
> 
> It
> 
> > report very useful percentage for the running processes that we exploit
> 
> to
> 
> > detect hot spots. But It reports X% of the used CPU (nothing related to
> > Idle or "rest of CPU").
> > 
> > So, any way with perf to get this information (directly or indirectly
> 
> with
> 
> > few calculation) ?
> > 
> > Thanks by advance,
> > 
> >   Jerome
> 
> Hi all,
> 
> Can someone please help on it ?

Sadly I cannot help you, but just want to say that I'd also be interested in 
this data. VTune e.g. shows these fancy per-thread CPU Time graphs which are 
shown at the bottom of this image:

https://software.intel.com/sites/default/files/managed/ef/8d/VTune-overview-fig-01.png

If there'd be a way to get similar results from Linux perf, I bet it would be 
very useful.

Bye
-- 
Milian Wolff
mail@milianw.de
http://milianw.de

  reply	other threads:[~2014-11-18 17:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-11  8:03 Is it possible to get (or compute) the consummed CPU with perf ? Jerome Correnoz
2014-11-18 17:31 ` Jerome Correnoz
2014-11-18 17:51   ` Milian Wolff [this message]
2014-11-18 18:08   ` David Ahern
2014-11-26 18:24     ` Jerome Correnoz
2014-11-30 20:37       ` Jerome Correnoz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1843797.nOROaMLjlR@milian-kdab2 \
    --to=mail@milianw.de \
    --cc=jerome.correnoz@st.com \
    --cc=linux-perf-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).