summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-06-14 09:39:04 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-06-14 09:39:04 +0200
commit0a6511917cb2d58bc752c81fd16fa8de5e5dca4e (patch)
tree85a39f1de9162e2c6d07efa2c1bf0e0dcfdc587c
parent2ed9a08ff4389e63d1b38bd3966cbc0b1a6c21c9 (diff)
data_parameters: Distinguish between bss/data with and without buffer
-rw-r--r--lib/data_parameters.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/data_parameters.py b/lib/data_parameters.py
index 033f5d7..bbfb404 100644
--- a/lib/data_parameters.py
+++ b/lib/data_parameters.py
@@ -236,7 +236,11 @@ class Protolog:
except KeyError:
pass
try:
- val['data_serdes_delta'] = val['data_serdes'] - val['data_nop'] - val['buffer_size']
+ val['data_serdes_delta'] = val['data_serdes'] - val['data_nop']
+ except KeyError:
+ pass
+ try:
+ val['data_serdes_delta_nobuf'] = val['data_serdes'] - val['data_nop'] - val['buffer_size']
except KeyError:
pass
try:
@@ -244,6 +248,10 @@ class Protolog:
except KeyError:
pass
try:
+ val['bss_serdes_delta_nobuf'] = val['bss_serdes'] - val['bss_nop'] - val['buffer_size']
+ except KeyError:
+ pass
+ try:
val['text_serdes_delta'] = val['text_serdes'] - val['text_nop']
except KeyError:
pass