Linux Perf Users
 help / color / mirror / Atom feed
From: Milian Wolff <milian.wolff@kdab.com>
To: Manuel Selva <selva.manuel@gmail.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: memory consumption information in perf stat?
Date: Fri, 29 Jan 2016 13:30:14 +0100	[thread overview]
Message-ID: <9959973.iQGH6OQWBz@agathebauer> (raw)
In-Reply-To: <56AA7219.4020803@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

On Donnerstag, 28. Januar 2016 20:55:05 CET Manuel Selva wrote:
> Hi,
> 
> I am not sure perf stat can compute such information because it mainly
> count events (hardware or kernel). To compute the peak heap size, perf
> stat would require the knowledge of all heap memory allocations.

Right, that is why I compared it to `time -v` which only gives the RSS as a 
ballpark figure which is often useful already to compare before/after. And if 
`time -v` can do it, I'd say `perf stat` should be able to do it as well? To 
track individual heap allocations, I'm using my heaptrack tool anyways. This 
request is more about making `perf stat` more useful by adding another side of 
the performance coin to it.

-- 
Milian Wolff | milian.wolff@kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5903 bytes --]

  reply	other threads:[~2016-01-29 12:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-28 17:11 memory consumption information in perf stat? Milian Wolff
2016-01-28 19:55 ` Manuel Selva
2016-01-29 12:30   ` Milian Wolff [this message]
2016-02-04  8:51 ` Taeung Song

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=9959973.iQGH6OQWBz@agathebauer \
    --to=milian.wolff@kdab.com \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=selva.manuel@gmail.com \
    /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