summaryrefslogtreecommitdiff
path: root/tools/perf/perf.c
diff options
context:
space:
mode:
authorRuss Anderson <rja@sgi.com>2010-05-19 02:52:40 +0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-21 04:53:58 +0400
commitef365cefbc53d8674a18520a1d4c2e5590127299 (patch)
tree75566178dedd11a685d4240523849ad6787fb549 /tools/perf/perf.c
parentdfacc4d6c98b89609250269f518c1f54c30454ef (diff)
downloadlinux-ef365cefbc53d8674a18520a1d4c2e5590127299.tar.xz
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