- Removed cputime_compat.c and ktime_compat.c
- Created clock_time_cputime.c for CPU time APIs (clock_cpu_*, rt_cputime_*)
- Created clock_time_boottime.c for boottime APIs (rt_boottime_*)
- Created stub cputime.h header for BSP compatibility
- Removed all compatibility type definitions from clock_time.h
- Removed compatibility Kconfig options
- Updated SConscript to build new files
- Replaced all rt_ktime_hrtimer_* calls with rt_clock_hrtimer_* in ctime.c
- Replaced all rt_ktime_* functions with rt_clock_* equivalents
- Simplified nanosleep() to use rt_clock_ndelay() directly
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
- Created new clock_time subsystem consolidating hwtimer/ktime/cputime
- Implemented clock_time device abstraction with ops structure
- Added high-resolution timer (hrtimer) implementation
- Created compatibility layers for legacy APIs
- Added comprehensive English and Chinese documentation
- Updated Kconfig to mark old subsystems as deprecated
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>