Re[4]: [XviD-devel] Quality optimization

Edouard Gomez xvid-devel@xvid.org
Fri, 24 Jan 2003 14:25:18 +0100 (CET)


You can use the GNU tools from Cygwin.

Enable profile (-pg), branch-probabilities (-fbranch-probabilities) and coverage
(see the cygwin Makefile) for the lib and your encoder. Then run your program,
it will output [source].da and [source].bbg files where the lib has been compiled.

When both coevrage and branch probabilities are set, then the coverage file
tells you how many times you entered/called each block of code, so you'll be
able to see if you use good predictors in if blocks

Then i recommend reading man gcov and man gprof.

--
Edouard Gomez