aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorAndi Kleen <[email protected]>2017-08-31 19:40:34 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-09-13 12:49:14 +0000
commitfd48aad9b0f3f7654433dfae3a72ceda36e2de28 (patch)
tree3d3a9de041b7c77a47233740b8858eb65a0229d5 /tools/perf/builtin-script.c
parentperf stat: Don't use ctx for saved values lookup (diff)
downloadkernel-fd48aad9b0f3f7654433dfae3a72ceda36e2de28.tar.gz
kernel-fd48aad9b0f3f7654433dfae3a72ceda36e2de28.zip
perf stat: Support duration_time for metrics
Some of the metrics formulas (like GFLOPs) need to know how long the measurement period is. Support an internal event called duration_time, which reports time in second. It maps to the dummy event, but is special cased for statistics to report the walltime duration. So far it is not printed, but only used internally for metrics. Signed-off-by: Andi Kleen <[email protected]> Acked-by: Jiri Olsa <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions