mirror of
https://github.com/RGBCube/serenity
synced 2025-10-22 19:42:07 +00:00
SystemMonitor: Add Interrupts tab
I was looking through the proc folder, noticed this and thought "why not?" It's setup as an updating model because of the call count, however, the call count doesn't appear to be working right now.
This commit is contained in:
parent
f68115aba3
commit
9a2a673e51
4 changed files with 117 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
|
||||
#include "DevicesModel.h"
|
||||
#include "GraphWidget.h"
|
||||
#include "InterruptsWidget.h"
|
||||
#include "MemoryStatsWidget.h"
|
||||
#include "NetworkStatisticsWidget.h"
|
||||
#include "ProcessFileDescriptorMapWidget.h"
|
||||
|
@ -179,6 +180,9 @@ int main(int argc, char** argv)
|
|||
|
||||
tabwidget.add_widget("Processors", build_processors_tab());
|
||||
|
||||
auto interrupts_widget = InterruptsWidget::construct();
|
||||
tabwidget.add_widget("Interrupts", interrupts_widget);
|
||||
|
||||
process_table_container.set_layout<GUI::VerticalBoxLayout>();
|
||||
process_table_container.layout()->set_spacing(0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue