diff options
author | Martin Schwidefsky <[email protected]> | 2009-08-14 15:47:32 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2009-08-15 10:55:47 +0200 |
commit | 23970e389e9cee43c4b41023935e1417271708b2 (patch) | |
tree | d97d299cf74c44cf7ceb4c04c82dafc451fbbfbb /tools/perf/scripts/python | |
parent | d4f587c67fc39e0030ddd718675e252e208da4d7 (diff) |
timekeeping: Introduce read_boot_clock
Add the new function read_boot_clock to get the exact time the system
has been started. For architectures without support for exact boot
time a new weak function is added that returns 0. Use the exact boot
time to initialize wall_to_monotonic, or xtime if the read_boot_clock
returned 0.
Signed-off-by: Martin Schwidefsky <[email protected]>
Cc: Ingo Molnar <[email protected]>
Acked-by: John Stultz <[email protected]>
Cc: Daniel Walker <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions