forked from Bananymous/banan-os
Kernel: Pressing F1 now toggles rendering of CPU loads to the terminal
This can be nice for seeing the performance and problems on the load balancing algorithm.
This commit is contained in:
@@ -114,6 +114,9 @@ namespace Kernel
|
||||
{
|
||||
switch (key_event.keycode)
|
||||
{
|
||||
case LibInput::keycode_function(1):
|
||||
Processor::toggle_should_print_cpu_load();
|
||||
break;
|
||||
case LibInput::keycode_function(12):
|
||||
Kernel::panic("Keyboard kernel panic :)");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user