summaryrefslogtreecommitdiffstats
path: root/TraceScreen.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 /TraceScreen.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 'TraceScreen.c')
-rw-r--r--TraceScreen.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/TraceScreen.c b/TraceScreen.c
index 1a896992..3af12e28 100644
--- a/TraceScreen.c
+++ b/TraceScreen.c
@@ -32,17 +32,17 @@ typedef struct TraceScreen_ {
}*/
-static const char* tbFunctions[] = {"AutoScroll ", "Stop Tracing ", "Done ", NULL};
+static const char* tsFunctions[] = {"AutoScroll ", "Stop Tracing ", "Done ", NULL};
-static const char* tbKeys[] = {"F4", "F5", "Esc"};
+static const char* tsKeys[] = {"F4", "F5", "Esc"};
-static int tbEvents[] = {KEY_F(4), KEY_F(5), 27};
+static int tsEvents[] = {KEY_F(4), KEY_F(5), 27};
TraceScreen* TraceScreen_new(Process* process) {
TraceScreen* this = (TraceScreen*) malloc(sizeof(TraceScreen));
this->process = process;
this->display = Panel_new(0, 1, COLS, LINES-2, LISTITEM_CLASS, true, ListItem_compare);
- this->bar = FunctionBar_new(tbFunctions, tbKeys, tbEvents);
+ this->bar = FunctionBar_new(tsFunctions, tsKeys, tsEvents);
this->tracing = true;
return this;
}

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