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

@@ -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;
}