Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clocksource: jz4780-tcu: Provide sched_clock() implementation
Use sched_clock_register() to register an implementation of sched_clock() using the OST, the same as the clocksource. Without this sched_clock() is implemented using jiffies. This implementation provides much higher resolution, which benefits several things such as CPU time accounting, the ftrace local clock and printk timing information. Signed-off-by: Alex Smith <[email protected]>
- Loading branch information