﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1094	"Block Statistics not properly formatted as CSV when TraceRule=""D_BLOCK_STATISTICS_ALL:poc>=0"""	arthurcerveira		"The block statistics generated by the decoder are not properly formatted as CSV when considering all syntax elements. This is how the macros are defined:

{{{
#ifndef ENABLE_TRACING
#define ENABLE_TRACING                                    1
#endif

#if ENABLE_TRACING
#define K0149_BLOCK_STATISTICS                            1
#if K0149_BLOCK_STATISTICS
#define BLOCK_STATS_AS_CSV                                1
#endif
#endif
}}}

This is the command used to write the block statistics:

{{{
./DecoderAppStatic -b BQSquare.bin --TraceFile=""BQSquare_Block_Stats_All.csv"" --TraceRule=""D_BLOCK_STATISTICS_ALL:poc>=0""
}}}

In BQSquare_Block_Stats_All.csv, some of the lines are still formatted as human readable format, even though the macro BLOCK_STATS_AS_CSV is enabled.

BQSquare_Block_Stats_All.csv is available here:
https://drive.google.com/file/d/1KDzHv_6BF6n1b_H2W-1bsolp7ES6L00E/view?usp=sharing

Some of the functions not supporting CSV formatting are CDTrace::dtrace_block_line, CDTrace::dtrace_polygon_scalar and writeAllData on dtrace_blockstatistics.cpp
"	defect	closed	minor		VTM	VTM-9.0	fixed		ksuehring XiangLi fbossen jvet@…
