1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 01:55:07 +00:00

ProcessManager: Use a single timer for refreshing the view.

Also add a menu for changing the update frequency to some nice values.
This commit is contained in:
Andreas Kling 2019-04-18 04:38:31 +02:00
parent d73ed74d1c
commit ac19fabaaf
4 changed files with 25 additions and 8 deletions

View file

@ -37,7 +37,6 @@ MemoryStatsWidget::MemoryStatsWidget(GWidget* parent)
m_kmalloc_label = build_widgets_for_label("Kernel heap:");
m_kmalloc_count_label = build_widgets_for_label("Calls kmalloc/kfree:");
start_timer(1000);
refresh();
}