Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Flat profile:
- Each sample counts as 0.01 seconds.
- % cumulative self self total
- time seconds seconds calls ms/call ms/call name
- 54.44 2.82 2.82 64 44.06 44.06 finalSAD
- 16.02 3.65 0.83 64 12.97 12.97 integralImage2D2D
- 6.56 3.99 0.34 64 5.31 5.31 findDisparity
- 5.79 4.29 0.30 64 4.69 4.69 computeSAD
- 4.63 4.53 0.24 64 3.75 3.75 padarray4
- 2.70 4.67 0.14 _IO_vfscanf_internal
- 2.61 4.81 0.14 fread
- 1.74 4.90 0.09 64 1.41 66.88 correlateSAD_2D
- 1.16 4.96 0.06 _IO_file_xsgetn
- 0.58 4.99 0.03 ____strtol_l_internal
- 0.58 5.02 0.03 memcpy
- 0.39 5.04 0.02 3 6.67 6.67 fSetArray
- 0.39 5.06 0.02 __isoc99_fscanf
- 0.39 5.08 0.02 readImage
- 0.29 5.09 0.02 _L_unlock_163
- 0.19 5.10 0.01 5 2.00 2.00 iSetArray
- 0.19 5.11 0.01 2 5.00 7.00 padarray2
- 0.19 5.12 0.01 __open_nocancel (syscall-template.S:82 @ 4153c9)
- 0.19 5.13 0.01 __strcasecmp_l_avx
- 0.19 5.14 0.01 __strtol_internal
- 0.19 5.15 0.01 munmap
- 0.19 5.16 0.01 selfCheck
- 0.10 5.17 0.01 _IO_default_seekoff
- 0.10 5.17 0.01 _IO_default_xsputn
- 0.10 5.18 0.01 _IO_sgetn
- 0.10 5.18 0.01 _IO_sputbackc
- 0.00 5.18 0.00 71 0.00 0.00 iMallocHandle
- 0.00 5.18 0.00 68 0.00 0.00 iFreeHandle
- 0.00 5.18 0.00 4 0.00 0.00 fFreeHandle
- 0.00 5.18 0.00 4 0.00 0.00 fMallocHandle
- 0.00 5.18 0.00 1 0.00 0.00 main
- % 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.
- Call graph (explanation follows)
- granularity: each sample hit covers 2 byte(s) for 0.19% of 5.18 seconds
- index % time self children called name
- <spontaneous>
- [1] 90.0 0.00 4.66 getDisparity [1]
- 0.09 4.19 64/64 correlateSAD_2D [2]
- 0.34 0.00 64/64 findDisparity [5]
- 0.02 0.00 3/3 fSetArray [13]
- 0.01 0.00 2/2 padarray2 [17]
- 0.01 0.00 3/5 iSetArray [18]
- 0.00 0.00 4/4 fFreeHandle [30]
- 0.00 0.00 4/68 iFreeHandle [29]
- 0.00 0.00 1/4 fMallocHandle [31]
- -----------------------------------------------
- 0.09 4.19 64/64 getDisparity [1]
- [2] 82.6 0.09 4.19 64 correlateSAD_2D [2]
- 2.82 0.00 64/64 finalSAD [3]
- 0.83 0.00 64/64 integralImage2D2D [4]
- 0.30 0.00 64/64 computeSAD [6]
- 0.24 0.00 64/64 padarray4 [7]
- 0.00 0.00 64/71 iMallocHandle [28]
- 0.00 0.00 64/68 iFreeHandle [29]
- -----------------------------------------------
- 2.82 0.00 64/64 correlateSAD_2D [2]
- [3] 54.4 2.82 0.00 64 finalSAD [3]
- -----------------------------------------------
- 0.83 0.00 64/64 correlateSAD_2D [2]
- [4] 16.0 0.83 0.00 64 integralImage2D2D [4]
- -----------------------------------------------
- 0.34 0.00 64/64 getDisparity [1]
- [5] 6.6 0.34 0.00 64 findDisparity [5]
- -----------------------------------------------
- 0.30 0.00 64/64 correlateSAD_2D [2]
- [6] 5.8 0.30 0.00 64 computeSAD [6]
- -----------------------------------------------
- 0.24 0.00 64/64 correlateSAD_2D [2]
- [7] 4.6 0.24 0.00 64 padarray4 [7]
- -----------------------------------------------
- <spontaneous>
- [8] 2.7 0.14 0.00 _IO_vfscanf_internal [8]
- -----------------------------------------------
- <spontaneous>
- [9] 2.6 0.14 0.00 fread [9]
- -----------------------------------------------
- <spontaneous>
- [10] 1.2 0.06 0.00 _IO_file_xsgetn [10]
- -----------------------------------------------
- <spontaneous>
- [11] 0.6 0.03 0.00 memcpy [11]
- -----------------------------------------------
- <spontaneous>
- [12] 0.6 0.03 0.00 ____strtol_l_internal [12]
- -----------------------------------------------
- 0.02 0.00 3/3 getDisparity [1]
- [13] 0.4 0.02 0.00 3 fSetArray [13]
- 0.00 0.00 3/4 fMallocHandle [31]
- -----------------------------------------------
- <spontaneous>
- [14] 0.4 0.02 0.00 readImage [14]
- 0.00 0.00 2/71 iMallocHandle [28]
- -----------------------------------------------
- <spontaneous>
- [15] 0.4 0.02 0.00 __isoc99_fscanf [15]
- -----------------------------------------------
- <spontaneous>
- [16] 0.3 0.02 0.00 _L_unlock_163 [16]
- -----------------------------------------------
- 0.01 0.00 2/2 getDisparity [1]
- [17] 0.3 0.01 0.00 2 padarray2 [17]
- 0.00 0.00 2/5 iSetArray [18]
- -----------------------------------------------
- 0.00 0.00 2/5 padarray2 [17]
- 0.01 0.00 3/5 getDisparity [1]
- [18] 0.2 0.01 0.00 5 iSetArray [18]
- 0.00 0.00 5/71 iMallocHandle [28]
- -----------------------------------------------
- <spontaneous>
- [19] 0.2 0.01 0.00 munmap [19]
- -----------------------------------------------
- <spontaneous>
- [20] 0.2 0.01 0.00 selfCheck [20]
- -----------------------------------------------
- <spontaneous>
- [21] 0.2 0.01 0.00 __open_nocancel (syscall-template.S:82 @ 4153c9) [21]
- -----------------------------------------------
- <spontaneous>
- [22] 0.2 0.01 0.00 __strcasecmp_l_avx [22]
- -----------------------------------------------
- <spontaneous>
- [23] 0.2 0.01 0.00 __strtol_internal [23]
- -----------------------------------------------
- <spontaneous>
- [24] 0.1 0.01 0.00 _IO_default_seekoff [24]
- -----------------------------------------------
- <spontaneous>
- [25] 0.1 0.01 0.00 _IO_default_xsputn [25]
- -----------------------------------------------
- <spontaneous>
- [26] 0.1 0.01 0.00 _IO_sgetn [26]
- -----------------------------------------------
- <spontaneous>
- [27] 0.1 0.01 0.00 _IO_sputbackc [27]
- -----------------------------------------------
- 0.00 0.00 2/71 readImage [14]
- 0.00 0.00 5/71 iSetArray [18]
- 0.00 0.00 64/71 correlateSAD_2D [2]
- [28] 0.0 0.00 0.00 71 iMallocHandle [28]
- -----------------------------------------------
- 0.00 0.00 4/68 getDisparity [1]
- 0.00 0.00 64/68 correlateSAD_2D [2]
- [29] 0.0 0.00 0.00 68 iFreeHandle [29]
- -----------------------------------------------
- 0.00 0.00 4/4 getDisparity [1]
- [30] 0.0 0.00 0.00 4 fFreeHandle [30]
- -----------------------------------------------
- 0.00 0.00 1/4 getDisparity [1]
- 0.00 0.00 3/4 fSetArray [13]
- [31] 0.0 0.00 0.00 4 fMallocHandle [31]
- -----------------------------------------------
- 0.00 0.00 1/1 __libc_start_main [1139]
- [32] 0.0 0.00 0.00 1 main [32]
- -----------------------------------------------
- This table describes the call tree of the program, and was sorted by
- the total amount of time spent in each function and its children.
- Each entry in this table consists of several lines. The line with the
- index number at the left hand margin lists the current function.
- The lines above it list the functions that called this function,
- and the lines below it list the functions this one called.
- This line lists:
- index A unique number given to each element of the table.
- Index numbers are sorted numerically.
- The index number is printed next to every function name so
- it is easier to look up where the function in the table.
- % time This is the percentage of the `total' time that was spent
- in this function and its children. Note that due to
- different viewpoints, functions excluded by options, etc,
- these numbers will NOT add up to 100%.
- self This is the total amount of time spent in this function.
- children This is the total amount of time propagated into this
- function by its children.
- called This is the number of times the function was called.
- If the function called itself recursively, the number
- only includes non-recursive calls, and is followed by
- a `+' and the number of recursive calls.
- name The name of the current function. The index number is
- printed after it. If the function is a member of a
- cycle, the cycle number is printed between the
- function's name and the index number.
- For the function's parents, the fields have the following meanings:
- self This is the amount of time that was propagated directly
- from the function into this parent.
- children This is the amount of time that was propagated from
- the function's children into this parent.
- called This is the number of times this parent called the
- function `/' the total number of times the function
- was called. Recursive calls to the function are not
- included in the number after the `/'.
- name This is the name of the parent. The parent's index
- number is printed after it. If the parent is a
- member of a cycle, the cycle number is printed between
- the name and the index number.
- If the parents of the function cannot be determined, the word
- `<spontaneous>' is printed in the `name' field, and all the other
- fields are blank.
- For the function's children, the fields have the following meanings:
- self This is the amount of time that was propagated directly
- from the child into the function.
- children This is the amount of time that was propagated from the
- child's children to the function.
- called This is the number of times the function called
- this child `/' the total number of times the child
- was called. Recursive calls by the child are not
- listed in the number after the `/'.
- name This is the name of the child. The child's index
- number is printed after it. If the child is a
- member of a cycle, the cycle number is printed
- between the name and the index number.
- If there are any cycles (circles) in the call graph, there is an
- entry for the cycle-as-a-whole. This entry shows who called the
- cycle (as parents) and the members of the cycle (as children.)
- The `+' recursive calls entry shows the number of function calls that
- were internal to the cycle, and the calls entry for each member shows,
- for that member, how many times it was called from other members of
- the cycle.
- Index by function name
- [24] _IO_default_seekoff [23] __strtol_internal [18] iSetArray
- [25] _IO_default_xsputn [6] computeSAD [4] integralImage2D2D
- [10] _IO_file_xsgetn [2] correlateSAD_2D [32] main
- [26] _IO_sgetn [30] fFreeHandle [11] memcpy
- [27] _IO_sputbackc [31] fMallocHandle [19] munmap
- [8] _IO_vfscanf_internal [13] fSetArray [17] padarray2
- [16] _L_unlock_163 [3] finalSAD [7] padarray4
- [12] ____strtol_l_internal [5] findDisparity [14] readImage
- [15] __isoc99_fscanf [9] fread [20] selfCheck
- [21] __open_nocancel (syscall-template.S:82 @ 4153c9) [29] iFreeHandle
- [22] __strcasecmp_l_avx [28] iMallocHandle
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement