perf record: remove unneeded gettimeofday() call
authorRuss Anderson <rja@sgi.com>
Tue, 18 May 2010 22:52:40 +0000 (17:52 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 21 May 2010 00:53:58 +0000 (21:53 -0300)
commitef365cefbc53d8674a18520a1d4c2e5590127299
tree75566178dedd11a685d4240523849ad6787fb549
parentdfacc4d6c98b89609250269f518c1f54c30454ef
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>
tools/perf/builtin-record.c