mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-30 10:33:27 +00:00
增加getrusage,并把apic timer的频率调整为系统HZ (#435)
This commit is contained in:
@ -4,11 +4,3 @@
|
||||
|
||||
// 操作系统定义时间以ns为单位
|
||||
#define CLOCKS_PER_SEC 1000000
|
||||
|
||||
|
||||
/**
|
||||
* @brief 获取当前的CPU时间
|
||||
*
|
||||
* @return uint64_t timer_jiffies
|
||||
*/
|
||||
extern uint64_t rs_clock();
|
Reference in New Issue
Block a user