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

@@ -35,4 +35,7 @@ void write_once(volatile T *ptr, T value)
#undef __aligned
#define __aligned(x) __attribute__((__aligned__(x)))
#undef __weak
#define __weak __attribute__((__weak__))
#endif