kernel: add function to query CPU clock cycle count
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user