增加getrusage,并把apic timer的频率调整为系统HZ (#435)

This commit is contained in:
LoGin
2023-11-12 16:36:17 +08:00
committed by GitHub
parent 02e249f30b
commit be8cdf4b8e
10 changed files with 119 additions and 63 deletions

View File

@ -4,11 +4,3 @@
// 操作系统定义时间以ns为单位
#define CLOCKS_PER_SEC 1000000
/**
* @brief 获取当前的CPU时间
*
* @return uint64_t timer_jiffies
*/
extern uint64_t rs_clock();