Performances output by GPROF


All performances provided in this section were measured on an Intel Celeron (Coppermine), 597.958 MHz processor, with Linux version 2.6.8-2-686 and gcc version 3.3.5.

Computation times for 1000 erosions

Flat profile:

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total           
 time   seconds   seconds    calls  ms/call  ms/call  name    
 56.11    334.93   334.93     1000   334.93   334.94  erosionByAnchor_1D_vertical
 43.92    597.11   262.18     1000   262.18   262.18  erosionByAnchor_1D_horizontal
  0.00    597.12     0.01     2000     0.01     0.01  is_size_valid_1D
  0.00    597.14     0.01                             main
  0.00    597.14     0.00        2     0.00     0.00  read_header_line
  0.00    597.14     0.00        2     0.00     0.00  skip_comment
  0.00    597.14     0.00        1     0.00     0.00  get_pgm_header
  0.00    597.14     0.00        1     0.00     0.00  match_key
  0.00    597.14     0.00        1     0.00     0.00  open_read
  0.00    597.14     0.00        1     0.00     0.00  open_read_pixmap
  0.00    597.14     0.00        1     0.00     0.00  readPGM
  0.00    597.14     0.00        1     0.00     0.00  writePGM

 %         the percentage of the total running time of the
time       program used by this function.

cumulative a running sum of the number of seconds accounted
 seconds   for by this function and those listed above it.

 self      the number of seconds accounted for by this
seconds    function alone.  This is the major sort for this
           listing.

calls      the number of times this function was invoked, if
           this function is profiled, else blank.

 self      the average number of milliseconds spent in this
ms/call    function per call, if this function is profiled,
	   else blank.

 total     the average number of milliseconds spent in this
ms/call    function and its descendents per call, if this 
	   function is profiled, else blank.

name       the name of the function.  This is the minor sort
           for this listing. The index shows the location of
	   the function in the gprof listing. If the index is
	   in parenthesis it shows where it would appear in
	   the gprof listing if it were to be printed.

Computation times for 1000 openings

Flat profile:

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total           
 time   seconds   seconds    calls  ms/call  ms/call  name    
 55.19    286.16   286.16     1000   286.16   286.16  openingByAnchor_1D_vertical
 44.84    518.62   232.47     1000   232.47   232.47  openingByAnchor_1D_horizontal
  0.00    518.64     0.01                             main
  0.00    518.64     0.00     2000     0.00     0.00  is_size_valid_1D
  0.00    518.64     0.00        2     0.00     0.00  read_header_line
  0.00    518.64     0.00        2     0.00     0.00  skip_comment
  0.00    518.64     0.00        1     0.00     0.00  get_pgm_header
  0.00    518.64     0.00        1     0.00     0.00  match_key
  0.00    518.64     0.00        1     0.00     0.00  open_read
  0.00    518.64     0.00        1     0.00     0.00  open_read_pixmap
  0.00    518.64     0.00        1     0.00     0.00  readPGM
  0.00    518.64     0.00        1     0.00     0.00  writePGM

 %         the percentage of the total running time of the
time       program used by this function.

cumulative a running sum of the number of seconds accounted
 seconds   for by this function and those listed above it.

 self      the number of seconds accounted for by this
seconds    function alone.  This is the major sort for this
           listing.

calls      the number of times this function was invoked, if
           this function is profiled, else blank.

 self      the average number of milliseconds spent in this
ms/call    function per call, if this function is profiled,
	   else blank.

 total     the average number of milliseconds spent in this
ms/call    function and its descendents per call, if this 
	   function is profiled, else blank.

name       the name of the function.  This is the minor sort
           for this listing. The index shows the location of
	   the function in the gprof listing. If the index is
	   in parenthesis it shows where it would appear in
	   the gprof listing if it were to be printed.

Relative ranking [Computation times for 1000 operations]

Relative ranking of a few operators, from the fastest to the slowest.

 time   seconds   seconds    calls  ms/call  ms/call  name    
                   232.47     1000   232.47   232.47  openingByAnchor_1D_horizontal
                   262.18     1000   262.18   262.18  erosionByAnchor_1D_horizontal
                   286.16     1000   286.16   286.16  openingByAnchor_1D_vertical
                   334.93     1000   334.93   334.94  erosionByAnchor_1D_vertical
                  5123.12     1000  5123.12  5123.12  erosion_arbitrary_SE

 
Telecommunications and Imaging Laboratory - Institut Montefiore - Université de Liège