diff options
author | Andi Kleen <ak@linux.intel.com> | 2017-08-31 12:40:34 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-09-13 09:49:14 -0300 |
commit | fd48aad9b0f3f7654433dfae3a72ceda36e2de28 (patch) | |
tree | 3d3a9de041b7c77a47233740b8858eb65a0229d5 /tools/testing/nvdimm | |
parent | 4e1a096380e3b558ef021afc08e193ce5d1be478 (diff) | |
download | linux-fd48aad9b0f3f7654433dfae3a72ceda36e2de28.tar.gz linux-fd48aad9b0f3f7654433dfae3a72ceda36e2de28.tar.bz2 linux-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 <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20170831194036.30146-10-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/testing/nvdimm')
0 files changed, 0 insertions, 0 deletions