Commit Graph

13 Commits

Author SHA1 Message Date
zhkag 7c1d6ffd3c add clock_cpu_settimeout function 2023-02-07 15:51:11 +08:00
xieyangrun 21472e3ff0 fix cputime and ctime. 2023-01-10 10:03:35 +08:00
guo ecf2d82159
sync branch rt-smart. (#6641)
* Synchronize the code of the rt mart branch to the master branch.
  * TTY device
  * Add lwP code from rt-smart
  * Add vnode in DFS, but DFS will be re-write for rt-smart
  * There are three libcpu for rt-smart:
    * arm/cortex-a, arm/aarch64
    * riscv64

Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00
Meco Man 808259135f [cputime] suuport perf_counter 2022-06-15 17:30:28 +08:00
aozima c2fec1bf45 update cputime_cortexm.c support 64bit. 2021-12-01 20:08:32 +08:00
aozima 9a3d0a0ea2 cputime support 64bit. 2021-12-01 20:08:32 +08:00
Meco Man ae0e0bdad4 [cputime] add sys/errno.h 2021-06-12 18:17:18 +08:00
Meco Man 3c05a4e719 [compoenets] auto & manual formatted 2021-03-08 18:19:04 +08:00
Bernard Xiong 2c0640a178 [license] Change license to Apache. 2018-10-14 19:37:18 +08:00
liruncong 7b788014f7 修正drivers下,armclang编译时的警告或错误 注:vcom_tx_thread_entry下, if(!res & CDC_TX_HAS_DATE)应为bug. 2018-09-10 19:40:08 +08:00
guozhanxin e2c89ec0f5 [components][cputime]to be able trace before use DWT.|使用 DWT 之前必须先使能跟踪系统. 2018-06-04 14:54:07 +08:00
BernardXiong 341f78fed7 [DeviceDrivers] Add more API.
1. Use float type for clock_cpu_getres() return value;
2. Add clock_cpu_microsecond/millisecond APIs.
2017-12-31 14:44:04 +08:00
Bernard Xiong 7c4417855e [DeviceDrivers] Add CPU time 2017-12-24 00:06:29 +08:00