commit | 7362262687b21b0d04927a7615c162a3d064849e | [log] [tgz] |
---|---|---|
author | Frederic Weisbecker <fweisbec@gmail.com> | Sun Sep 13 01:59:05 2009 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Sun Sep 13 10:22:48 2009 +0200 |
tree | 58bfdd62cb077bbe5e6dee2d6caa67bf650ea840 | |
parent | 66685678a03d0d8e8ba015472f280fb4f12f84c1 [diff] |
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>