diff options
author | Namhyung Kim <namhyung@kernel.org> | 2016-12-22 15:03:50 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-12-27 21:47:57 -0300 |
commit | 9396c9cb0d9534ca67bda8a34b2413a2ca1c67e9 (patch) | |
tree | 1df5b1dead770526f9fe1f95cedc7681068d65ab /samples/bpf/sock_example.h | |
parent | 3705b97505bcbf6440f38119c0e7d6058f585b54 (diff) | |
download | blackbird-op-linux-9396c9cb0d9534ca67bda8a34b2413a2ca1c67e9.tar.gz blackbird-op-linux-9396c9cb0d9534ca67bda8a34b2413a2ca1c67e9.zip |
perf sched timehist: Show total scheduling time
Show length of analyzed sample time and rate of idle task running.
This also takes care of time range given by --time option.
$ perf sched timehist -sI | tail
Samples do not have callchains.
Idle stats:
CPU 0 idle for 930.316 msec ( 92.93%)
CPU 1 idle for 963.614 msec ( 96.25%)
CPU 2 idle for 885.482 msec ( 88.45%)
CPU 3 idle for 938.635 msec ( 93.76%)
Total number of unique tasks: 118
Total number of context switches: 2337
Total run time (msec): 3718.048
Total scheduling time (msec): 1001.131 (x 4)
Suggested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20161222060350.17655-3-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'samples/bpf/sock_example.h')
0 files changed, 0 insertions, 0 deletions