diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-06-13 10:19:56 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-06-13 10:19:56 +0200 |
commit | 2ed9a08ff4389e63d1b38bd3966cbc0b1a6c21c9 (patch) | |
tree | c84992e04ed5e6b943d94b4a550c0b0127fe6c57 /lib | |
parent | d155029ee62898a2137e3fea33fe185aec453842 (diff) |
data_parameters: Add {data,bss,text}_serdes_delta
Diffstat (limited to 'lib')
-rw-r--r-- | lib/data_parameters.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/data_parameters.py b/lib/data_parameters.py index 32f0ecd..033f5d7 100644 --- a/lib/data_parameters.py +++ b/lib/data_parameters.py @@ -236,6 +236,18 @@ class Protolog: except KeyError: pass try: + val['data_serdes_delta'] = val['data_serdes'] - val['data_nop'] - val['buffer_size'] + except KeyError: + pass + try: + val['bss_serdes_delta'] = val['bss_serdes'] - val['bss_nop'] + except KeyError: + pass + try: + val['text_serdes_delta'] = val['text_serdes'] - val['text_nop'] + except KeyError: + 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'] @@ -273,6 +285,10 @@ class Protolog: val['allmem_serdes'] = val['text_serdes'] + val['data_serdes'] + val['bss_serdes'] + val['total_dmem_serdes'] - val['buffer_size'] except KeyError: pass + try: + val['smem_serdes'] = val['text_serdes'] + val['data_serdes'] + val['bss_serdes'] - val['buffer_size'] + except KeyError: + pass if cpu_conf_str: cpu_conf = utils.parse_conf_str(cpu_conf_str) |