summaryrefslogtreecommitdiffstats
path: root/OpenFilesScreen.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2010-08-24 23:20:38 +0000
committerHisham Muhammad <hisham@gobolinux.org>2010-08-24 23:20:38 +0000
commit6486229308cf7acc7a4ba7dd5f755cdb969372ef (patch)
tree380c7bd90256bc93d8babf0eda6fecefcfa06d74 /OpenFilesScreen.c
parentc166e172a8f46c710fbba5996f8f332f4c4984ce (diff)
add support for steal/guest CPU time measurement
simplify processor data accounting (add CPUData structure) remove Process_clone trick
Diffstat (limited to 'OpenFilesScreen.c')
-rw-r--r--OpenFilesScreen.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenFilesScreen.c b/OpenFilesScreen.c
index df67f127..7a574707 100644
--- a/OpenFilesScreen.c
+++ b/OpenFilesScreen.c
@@ -43,17 +43,17 @@ typedef struct OpenFilesScreen_ {
}*/
-static const char* tbFunctions[] = {"Refresh", "Done ", NULL};
+static const char* ofsFunctions[] = {"Refresh", "Done ", NULL};
-static const char* tbKeys[] = {"F5", "Esc"};
+static const char* ofsKeys[] = {"F5", "Esc"};
-static int tbEvents[] = {KEY_F(5), 27};
+static int ofsEvents[] = {KEY_F(5), 27};
OpenFilesScreen* OpenFilesScreen_new(Process* process) {
OpenFilesScreen* this = (OpenFilesScreen*) malloc(sizeof(OpenFilesScreen));
this->process = process;
this->display = Panel_new(0, 1, COLS, LINES-3, LISTITEM_CLASS, true, ListItem_compare);
- this->bar = FunctionBar_new(tbFunctions, tbKeys, tbEvents);
+ this->bar = FunctionBar_new(ofsFunctions, ofsKeys, ofsEvents);
this->tracing = true;
return this;
}

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