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
commit ac19fabaaf
Notes: sideshowbarker 2024-07-19 14:40:09 +09:00
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();
}