[gst-devel] Instruction count per line of C

Erik Walthinsen omega at temple-baptist.com
Mon Oct 15 02:00:02 CEST 2001

I've put together some webpages that show the number of x86 instructions
that can be associated with each line of C.  This can be used to try to
pin down what code balloons out of proportion.

This is done using `objdump -d -l` and counting how many instructions
follow each referenced C line.  Where there are several refernces to the
same line, the pages show the count in ()'s, and the number shown is the
average of all instances.

Lines which have more than 10 instructions to their name have the number
printed in red, to make them easy to find.  These are a sign that
something is quite possibly silently ballooning, and I've looked into a
few already and fixed them.  Else gstpad.c would be much larger <g>

You can find this stuff at:


      Erik Walthinsen <omega at temple-baptist.com> - System Administrator
       /  \                GStreamer - The only way to stream!
      |    | M E G A        ***** http://gstreamer.net/ *****
      _\  /_

More information about the gstreamer-devel mailing list