summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-02-04 08:56:51 +0100
committerHisham Muhammad <hisham@gobolinux.org>2018-02-04 08:57:35 +0100
commit44b6217a394629920ef46556a07038de1db9e706 (patch)
tree30b7919e96bec3ea0cfdb15d0d14244085d54143
parent9bc609918098742bb69f12183d5727eb405ac594 (diff)
Add more default screens3.0.0beta1
-rw-r--r--Settings.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/Settings.c b/Settings.c
index 906a5fc6..b1800c20 100644
--- a/Settings.c
+++ b/Settings.c
@@ -268,8 +268,12 @@ ScreenSettings* Settings_newScreen(Settings* this, const char* name, const char*
static void Settings_defaultScreens(Settings* this) {
Settings_newScreen(this, "Default", "PID USER PRIORITY NICE M_SIZE M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command");
this->screens[0]->sortKey = toFieldIndex("PERCENT_CPU");
- Settings_newScreen(this, "I/O", "PID IO_PRIORITY USER IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command");
- this->screens[0]->sortKey = toFieldIndex("IO_RATE");
+ Settings_newScreen(this, "I/O", "PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command");
+ this->screens[1]->sortKey = toFieldIndex("IO_RATE");
+ Settings_newScreen(this, "Perf Counters", "PID USER PERCENT_CPU PROCESSOR MCYCLE MINSTR IPC PERCENT_MISS PERCENT_BMISS Command");
+ this->screens[2]->sortKey = toFieldIndex("MCYCLE");
+ Settings_newScreen(this, "L1 Data Cache", "PID USER PERCENT_CPU L1DREADS L1DRMISSES L1DWRITES L1DWMISSES Command");
+ this->screens[3]->sortKey = toFieldIndex("L1DREADS");
}
static bool Settings_read(Settings* this, const char* fileName) {

© 2014-2022 Faster IT GmbH | imprint | privacy policy