linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jerome Correnoz <jerome.correnoz@st.com>
To: linux-perf-users@vger.kernel.org
Subject: Is it possible to get (or compute) the consummed CPU with perf ?
Date: Tue, 11 Nov 2014 08:03:44 +0000 (UTC)	[thread overview]
Message-ID: <loom.20141111T083453-589@post.gmane.org> (raw)

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

             reply	other threads:[~2014-11-11  8:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-11  8:03 Jerome Correnoz [this message]
2014-11-18 17:31 ` Is it possible to get (or compute) the consummed CPU with perf ? Jerome Correnoz
2014-11-18 17:51   ` Milian Wolff
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=loom.20141111T083453-589@post.gmane.org \
    --to=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).