mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +00:00
Kernel: Add 'boot_prof' option to enable full system profiling on boot
The full system profiling functionality is useful for profiling the boot performance of the system. Add a new kernel boot option to start the system with profiling enabled. This lets you disable and view a profile once the system is booted. You can use it by running: ``` $ run.sh qcmd boot_prof ```
This commit is contained in:
parent
0f424afd5a
commit
afe099388e
3 changed files with 13 additions and 1 deletions
|
@ -61,6 +61,7 @@ public:
|
|||
Optional<String> lookup(const String& key) const;
|
||||
[[nodiscard]] bool contains(const String& key) const;
|
||||
|
||||
[[nodiscard]] bool is_boot_profiling_enabled() const;
|
||||
[[nodiscard]] bool is_ide_enabled() const;
|
||||
[[nodiscard]] bool is_smp_enabled() const;
|
||||
[[nodiscard]] bool is_vmmouse_enabled() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue