diff options
author | John Stultz <[email protected]> | 2012-07-13 01:21:54 -0400 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2012-07-15 10:39:06 +0200 |
commit | 1f4f948706bcec1b51bf6492bf04057d2e21e273 (patch) | |
tree | 1677cf2f130da9ff53259fdb658fa53a4ef81b4e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 1e75fa8be9fb61e1af46b5b3b176347a4c958ca1 (diff) |
time: Refactor accumulation of nsecs to secs
We do the exact same logic moving nsecs to secs in the
timekeeper in multiple places, so condense this into a
single function.
Signed-off-by: John Stultz <[email protected]>
Reviewed-by: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions