kernel: add function to query CPU clock cycle count
This commit is contained in:
@@ -69,3 +69,8 @@ unsigned int cpu_get_highest_available(void)
|
||||
{
|
||||
return bitmap_highest_set(cpu_available, CPU_MAX);
|
||||
}
|
||||
|
||||
cycles_t __weak get_cycles(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user