summaryrefslogtreecommitdiff
path: root/cesar/mac/common
diff options
context:
space:
mode:
authorJérémy Dufour2011-05-17 12:02:52 +0200
committerJérémy Dufour2011-05-23 11:37:58 +0200
commitd19bf69170b373d936ebbc2e35fd2adfb53ff42a (patch)
tree614f5eb8d1bc60d7795513f5ec24f8872fc4cc9c /cesar/mac/common
parent51c20dcdb034c425f8b675e64f7ef1de6682d458 (diff)
cesar/{mac/common,ce/rx/bl}: add stats on PB/frame handled by TM, refs #2375
Diffstat (limited to 'cesar/mac/common')
-rw-r--r--cesar/mac/common/tonemap.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/cesar/mac/common/tonemap.h b/cesar/mac/common/tonemap.h
index 537e3596e1..f383b304b8 100644
--- a/cesar/mac/common/tonemap.h
+++ b/cesar/mac/common/tonemap.h
@@ -191,6 +191,19 @@ struct tonemap_t
* loading algorithm).
*/
u64 ber_target_reached;
+ /**
+ * Number of frames handled by this tone map.
+ * This counter can overflow. It also count only frame handled by the CE
+ * for this tone map (the CE can drop some frames if memory is too low).
+ */
+ u32 nb_frame;
+ /**
+ * Number of PB handled by this tone map.
+ * This counter can overflow. It also count only PB handled by the CE for
+ * this tone map, even the one with a CRC false (the CE can drop some
+ * measures if memory is too low).
+ */
+ u32 nb_pb;
};
typedef struct tonemap_t tonemap_t;