From: Peter O. <obe...@us...> - 2012-10-05 08:23:08
|
Update of /cvsroot/ltp/utils/analysis/lcov/man In directory vz-cvs-4.sog:/tmp/cvs-serv4001/man Modified Files: lcovrc.5 Log Message: lcov: add setting to disable function and branch coverage Add two new configuration file settings: * lcov_function_coverage and * lcov_branch_coverage When set to zero, lcov will skip the corresponding coverage data type from being collected or processed, resulting in reduced memory and CPU time consumption and smaller data files. Index: lcovrc.5 =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/man/lcovrc.5,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** lcovrc.5 2 Oct 2012 14:29:57 -0000 1.21 --- lcovrc.5 5 Oct 2012 08:23:06 -0000 1.22 *************** *** 137,146 **** # Include function coverage data display .br ! genhtml_function_coverage = 1 .br # Include branch coverage data display .br ! genhtml_branch_coverage = 1 .br --- 137,146 ---- # Include function coverage data display .br ! #genhtml_function_coverage = 1 .br # Include branch coverage data display .br ! #genhtml_branch_coverage = 1 .br *************** *** 227,230 **** --- 227,243 ---- lcov_list_truncate_max = 20 + # Specify if function coverage data should be collected and + .br + # processed. + .br + lcov_function_coverage = 1 + .br + + # Specify if branch coverage data should be collected and + .br + # processed. + .br + lcov_branch_coverage = 1 + .br .PP *************** *** 733,736 **** --- 746,781 ---- .PP + .BR lcov_function_coverage " =" + .IR 0 | 1 + .IP + Specify whether lcov should handle function coverage data. + .br + + Setting this option to 0 can reduce memory and CPU time consumption + when lcov is collecting and processing coverage data, as well as + reduce the size of the resulting data files. Note that setting + .B genhtml_function_coverage + will override this option for HTML generation. + .br + + Default is 1. + .PP + + .BR lcov_branch_coverage " =" + .IR 0 | 1 + .IP + Specify whether lcov should handle branch coverage data. + .br + + Setting this option to 0 can reduce memory and CPU time consumption + when lcov is collecting and processing coverage data, as well as + reduce the size of the resulting data files. Note that setting + .B genhtml_branch_coverage + will override this option for HTML generation. + .br + + Default is 1. + .PP + .SH FILES |