aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/abstract_cpu.cpp
diff options
context:
space:
mode:
authorChris Ferron <chris.e.ferron@linux.intel.com>2012-09-11 10:23:26 -0700
committerChris E Ferron <chris.e.ferron@linux.intel.com>2012-09-12 17:19:25 -0700
commitf77ea5fe2ad46b3c5de46b8447d23bd12958d2c8 (patch)
tree51b5ab3b23bf7a1de86f05b5e1f06f2e2c5e6a8f /src/cpu/abstract_cpu.cpp
parent92d0e9a68bdc4c77c9414f00c530f28c98d23cdb (diff)
PowerTOP UI navigation enhancement(v3).
This patch add more ui navigation features allowing for the scrolling of PowerTop content for each tab. This is done by controlling the location of the winpad, and refreshing the terminal window when needed. To do this, the navigation keys have been updated as follows. "Arrow Keys" now scroll the tab windows "Page up/down" scroll tab windows up and down "TAB" cycles the next window tab "SHIFT+TAB" cycles the previous window tab "ENTER" toggles tunables "SPACE BAR" toggles tunables "r KEY" refresh results and resets view of tab window. Known issues: There is no handler for terminal re-sizing. The workaround is to use "r KEY" to refresh if terminal windows size is changed mid session.
Diffstat (limited to 'src/cpu/abstract_cpu.cpp')
-rw-r--r--src/cpu/abstract_cpu.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/cpu/abstract_cpu.cpp b/src/cpu/abstract_cpu.cpp
index 8b4c650..ebdc510 100644
--- a/src/cpu/abstract_cpu.cpp
+++ b/src/cpu/abstract_cpu.cpp
@@ -421,12 +421,6 @@ void abstract_cpu::validate(void)
for (i = 0; i < children.size(); i++) {
if (children[i]) {
- if (my_time != children[i]->total_pstate_time())
- printf("My (%i) time %llu is not the same as child (%i) time %llu\n",
- first_cpu,
- (unsigned long long)my_time,
- children[i]->number,
- (unsigned long long)children[i]->total_pstate_time());
children[i]->validate();
}
}