From 27cb361e14e68a9fba5cfd6095f2b88862657fbe Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 24 Jul 2019 15:20:16 +0200 Subject: add timing analysis script --- lib/dfatool.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/dfatool.py') 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 -- cgit v1.2.3