summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-09-09 08:00:09 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-09-09 08:00:09 +0200
commit454014918bd8be3225139f6bef4b97976a298479 (patch)
tree8821679ba0f3e548acc5f4acf9abd3cb763c013a /lib
parent1a7c8bdb477987eb6e0f6710e68148c4d46e01ab (diff)
optionally also analyze mean transition power
Diffstat (limited to 'lib')
-rwxr-xr-xlib/dfatool.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dfatool.py b/lib/dfatool.py
index abf8c10..340a6e5 100755
--- a/lib/dfatool.py
+++ b/lib/dfatool.py
@@ -1381,6 +1381,8 @@ def _add_trace_data_to_aggregate(aggregate, key, element):
else:
# TODO do not hardcode values
aggregate[key]['attributes'] = ['duration', 'energy', 'rel_energy_prev', 'rel_energy_next']
+ # Uncomment this line if you also want to analyze mean transition power
+ #aggrgate[key]['attributes'].append('power')
if 'plan' in element and element['plan']['level'] == 'epilogue':
aggregate[key]['attributes'].insert(0, 'timeout')
attributes = aggregate[key]['attributes'].copy()