perf sched: Fix nsec to msec conversion
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 12 Sep 2009 23:59:05 +0000 (01:59 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 13 Sep 2009 08:22:48 +0000 (10:22 +0200)
commit7362262687b21b0d04927a7615c162a3d064849e
tree58bfdd62cb077bbe5e6dee2d6caa67bf650ea840
parent66685678a03d0d8e8ba015472f280fb4f12f84c1
perf sched: Fix nsec to msec conversion

We are dividing a time in ns by 1e9. This is a nsec to sec
conversion. What we want is msecs. Fix it by dividing by 1e6.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-sched.c