summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-07-24 15:20:16 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-07-24 15:20:16 +0200
commit27cb361e14e68a9fba5cfd6095f2b88862657fbe (patch)
treeeba609af4677bb3d9b796ee12f6374527d6b5d5c /lib
parent1d010bd59bc5cf100310b285c743ae27f921b681 (diff)
add timing analysis script
Diffstat (limited to 'lib')
-rwxr-xr-xlib/dfatool.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/dfatool.py b/lib/dfatool.py
index 8f08211..ffe5a3b 100755
--- a/lib/dfatool.py
+++ b/lib/dfatool.py
@@ -1250,6 +1250,9 @@ def pta_trace_to_aggregate(traces, ignore_trace_indexes = []):
arg_count[elem['name']] = len(elem['args'])
if elem['name'] != 'UNINITIALIZED':
_add_trace_data_to_aggregate(by_name, elem['name'], elem)
+ for elem in by_name.values():
+ for key in elem['attributes']:
+ elem[key] = np.array(elem[key])
return by_name, parameter_names, arg_count