diff options
Diffstat (limited to 'lib/data_parameters.py')
-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) |