Commit Graph
2 Commits
Author SHA1 Message Date
copilot-swe-agent[bot]andBernardXiong 4f3448ca53 [clock_time] Remove compatibility layers and refactor to direct implementation
- 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>
2025-12-04 17:06:21 +00:00
copilot-swe-agent[bot]andBernardXiong 32587a3096 [clock_time] Add unified clock_time subsystem with documentation
- 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>
2025-12-04 15:26:42 +00:00