diff options
author | Russ Anderson <rja@sgi.com> | 2010-05-18 17:52:40 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-20 21:53:58 -0300 |
commit | ef365cefbc53d8674a18520a1d4c2e5590127299 (patch) | |
tree | 75566178dedd11a685d4240523849ad6787fb549 /tools/perf/perf.c | |
parent | dfacc4d6c98b89609250269f518c1f54c30454ef (diff) |
perf record: remove unneeded gettimeofday() call
Perf record repeatedly calls gettimeofday() which adds noise to the performance
measurements. Since gettimeofday() is only used for the error printf, delete
it.
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <20100518225240.GC25589@sgi.com>
Signed-off-by: Russ Anderson <rja@sgi.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/perf.c')
0 files changed, 0 insertions, 0 deletions