diff options
| author | Ingo Molnar <[email protected]> | 2011-04-28 16:17:11 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2011-04-28 06:39:39 +0000 |
| commit | f9cef0a90c4e7637f1ec98474a1a099aec45eb65 (patch) | |
| tree | 6a7b6bd456a274070f83d75fa1e7f97d90f32e8e /tools/perf/util/python.c | |
| parent | perf event, x86: Use better stalled cycles metric (diff) | |
| download | kernel-f9cef0a90c4e7637f1ec98474a1a099aec45eb65.tar.gz kernel-f9cef0a90c4e7637f1ec98474a1a099aec45eb65.zip | |
perf stat: Add --sync/-S option
--sync will tell perf stat to run sync() before starting a command.
This allows IO-heavy tests to be used with --repeat, without one
iteration impacting the other.
Elapsed time will stabilize for example:
before: 3.971525714 seconds time elapsed ( +- 8.56% )
after: 3.211098537 seconds time elapsed ( +- 1.52% )
So measurements will be more accurate.
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
