diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-06-12 10:07:04 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-06-12 10:07:04 +0200 |
commit | d155029ee62898a2137e3fea33fe185aec453842 (patch) | |
tree | 487da2088a095aa1d3560198f9cf4d42fd3bb52f /lib | |
parent | 767245efb5ccc2dc4c5967aead3e80b81f38df10 (diff) |
add energy_desdecrx and written_dmem_{ser,des} keys
Diffstat (limited to 'lib')
-rw-r--r-- | lib/data_parameters.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/data_parameters.py b/lib/data_parameters.py index f3cb483..32f0ecd 100644 --- a/lib/data_parameters.py +++ b/lib/data_parameters.py @@ -237,12 +237,16 @@ class Protolog: pass try: val['total_dmem_ser'] = val['stack_alloc_ser'] + val['written_dmem_ser'] = val['stack_set_ser'] val['total_dmem_ser'] += val['heap_ser'] + val['written_dmem_ser'] += val['heap_ser'] except KeyError: pass try: val['total_dmem_des'] = val['stack_alloc_des'] + val['written_dmem_des'] = val['stack_set_des'] val['total_dmem_des'] += val['heap_des'] + val['written_dmem_des'] += val['heap_des'] except KeyError: pass try: @@ -327,6 +331,7 @@ class Protolog: else: val['energy_tx'] = 0 val['energy_encsertx'] = val['energy_encser'] + val['energy_tx'] + val['energy_desdecrx'] = val['energy_desdec'] + val['energy_tx'] except KeyError: pass |