diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-07-05 07:39:20 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-07-05 10:30:22 +0200 |
commit | e05b876c222178bc6abcfa9f23d8311731691046 (patch) | |
tree | c28c3d65cdc2bef18c212dd0a74da2f34fdb5ce3 /tools/perf/perf.h | |
parent | 94a8eb028a57854157a936c7e66b09e2559f115a (diff) | |
download | linux-e05b876c222178bc6abcfa9f23d8311731691046.tar.bz2 |
perf_counter tools: callchains: Manage the cumul hits on the fly
The cumul hits are the number of hits of every childs of a node
plus the hits of the current nodes, required for percentage
computing of a branch.
Theses numbers are calculated during the sorting of the branches of
the callchain tree using a depth first postfix traversal, so that
cumulative hits are propagated in the right order.
But if we plan to implement percentages relative to the parent and not
absolute percentages (relative to the whole overhead), we need to know
the cumulative hits of the parent before computing the children
because the relative minimum acceptable number of entries (ie: minimum
rate against the cumulative hits from the parent) is the basis to
filter the children against a given rate.
Then we need to handle the cumul hits on the fly to prepare the
implementation of relative overhead rates.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Anton Blanchard <anton@samba.org>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <1246772361-9960-4-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/perf.h')
0 files changed, 0 insertions, 0 deletions