Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1412281

Re: [PATCH 2/4] perf stat: Add computation of TopDown formulas

From Andi Kleen <andi@firstfloor.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/4] perf stat: Add computation of TopDown formulas
Date 2016-06-02 16:30 +0200
Message-ID <rFBNf-71V-15@gated-at.bofh.it> (permalink)
References <rCqEG-7B3-11@gated-at.bofh.it> <rCqEG-7B3-9@gated-at.bofh.it> <rFfMJ-1eo-17@gated-at.bofh.it> <rFfMJ-1eo-15@gated-at.bofh.it> <rFzBM-5Mk-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jun 02, 2016 at 06:56:51AM -0500, Nilay Vaish wrote:
> Andi,  I am talking about the if statement.  I don't know why it would
> happen that nothing got measured.  I am guessing you saw it happen.
> May be we can add a comment in the patch that it is possible that all
> counter values are zero and therefore we need that if statement.

Sure it can happen that nothing got measured, for example if the program
didn't run, or the group didn't get scheduled.

-Andi

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH 2/4] perf stat: Add computation of TopDown formulas Nilay Vaish <nilayvaish@gmail.com> - 2016-06-01 17:00 +0200
  Re: [PATCH 2/4] perf stat: Add computation of TopDown formulas Andi Kleen <ak@linux.intel.com> - 2016-06-01 17:00 +0200
    Re: [PATCH 2/4] perf stat: Add computation of TopDown formulas Nilay Vaish <nilayvaish@gmail.com> - 2016-06-02 14:10 +0200
      Re: [PATCH 2/4] perf stat: Add computation of TopDown formulas Andi Kleen <andi@firstfloor.org> - 2016-06-02 16:30 +0200

csiph-web