kernel: add function to query CPU clock cycle count

This commit is contained in:
2023-04-22 21:07:34 +01:00
parent a8a6ff123e
commit e7fe5a8f8e
5 changed files with 23 additions and 0 deletions

View File

@@ -4,5 +4,6 @@
#include <stdint.h>
typedef uintptr_t phys_addr_t;
typedef uint64_t cycles_t;
#endif