diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-07-24 15:20:16 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-07-24 15:20:16 +0200 |
commit | 27cb361e14e68a9fba5cfd6095f2b88862657fbe (patch) | |
tree | eba609af4677bb3d9b796ee12f6374527d6b5d5c /lib | |
parent | 1d010bd59bc5cf100310b285c743ae27f921b681 (diff) |
add timing analysis script
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/dfatool.py | 3 |
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 |