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
- 13.78 0.26 0.26 fread
- 12.97 0.50 0.24 imageBlur
- 12.43 0.73 0.23 calcSobel_dY
- 8.65 0.89 0.16 637 0.25 0.25 fSetArray
- 8.11 1.04 0.15 3 50.00 50.50 calcAreaSum
- 7.03 1.17 0.13 calcSobel_dX
- 6.49 1.29 0.12 imageResize
- 6.49 1.41 0.12 readImage
- 4.86 1.50 0.09 _IO_file_xsgetn
- 3.78 1.57 0.07 572 0.12 0.37 getInterpolatePatch
- 3.24 1.63 0.06 memcpy
- 2.16 1.67 0.04 calcGoodFeature
- 1.08 1.69 0.02 15 1.33 1.33 fDeepCopy
- 1.08 1.71 0.02 __read_nocancel
- 1.08 1.73 0.02 __strcasecmp_l_avx
- 1.08 1.75 0.02 fillFeatures
- 0.81 1.76 0.02 _L_unlock_163
- 0.54 1.77 0.01 _IO_default_xsputn
- 0.54 1.78 0.01 _IO_file_xsgetn_mmap
- 0.54 1.79 0.01 _IO_sgetn
- 0.54 1.80 0.01 __close_nocancel
- 0.54 1.81 0.01 __open_nocancel
- 0.54 1.82 0.01 brk
- 0.54 1.83 0.01 calcPyrLKTrack
- 0.54 1.84 0.01 fReshape
- 0.54 1.85 0.01 fcntl
- 0.00 1.85 0.00 725 0.00 0.00 fMallocHandle
- 0.00 1.85 0.00 667 0.00 0.00 fFreeHandle
- 0.00 1.85 0.00 48 0.00 0.00 iMallocHandle
- 0.00 1.85 0.00 39 0.00 0.00 iFreeHandle
- 0.00 1.85 0.00 4 0.00 0.00 ffVertcat
- 0.00 1.85 0.00 4 0.00 0.00 iSetArray
- 0.00 1.85 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.54% of 1.85 seconds
- index % time self children called name
- <spontaneous>
- [1] 13.8 0.26 0.00 fread [1]
- -----------------------------------------------
- <spontaneous>
- [2] 13.1 0.24 0.00 imageBlur [2]
- 0.00 0.00 10/637 fSetArray [7]
- 0.00 0.00 5/48 iMallocHandle [30]
- 0.00 0.00 5/667 fFreeHandle [29]
- 0.00 0.00 5/39 iFreeHandle [31]
- -----------------------------------------------
- <spontaneous>
- [3] 12.7 0.23 0.00 calcSobel_dY [3]
- 0.00 0.00 18/637 fSetArray [7]
- 0.00 0.00 18/48 iMallocHandle [30]
- 0.00 0.00 18/39 iFreeHandle [31]
- 0.00 0.00 9/667 fFreeHandle [29]
- -----------------------------------------------
- <spontaneous>
- [4] 12.1 0.01 0.21 calcPyrLKTrack [4]
- 0.07 0.14 572/572 getInterpolatePatch [5]
- 0.00 0.00 576/667 fFreeHandle [29]
- 0.00 0.00 4/48 iMallocHandle [30]
- 0.00 0.00 4/725 fMallocHandle [28]
- 0.00 0.00 4/4 iSetArray [33]
- 0.00 0.00 4/39 iFreeHandle [31]
- -----------------------------------------------
- 0.07 0.14 572/572 calcPyrLKTrack [4]
- [5] 11.5 0.07 0.14 572 getInterpolatePatch [5]
- 0.14 0.00 572/637 fSetArray [7]
- -----------------------------------------------
- <spontaneous>
- [6] 10.4 0.04 0.15 calcGoodFeature [6]
- 0.15 0.00 3/3 calcAreaSum [8]
- 0.00 0.00 8/667 fFreeHandle [29]
- 0.00 0.00 6/725 fMallocHandle [28]
- -----------------------------------------------
- 0.00 0.00 1/637 fillFeatures [15]
- 0.00 0.00 2/637 getANMS [14]
- 0.00 0.00 6/637 calcAreaSum [8]
- 0.00 0.00 10/637 imageBlur [2]
- 0.00 0.00 10/637 imageResize [10]
- 0.00 0.00 18/637 calcSobel_dX [9]
- 0.00 0.00 18/637 calcSobel_dY [3]
- 0.14 0.00 572/637 getInterpolatePatch [5]
- [7] 8.6 0.16 0.00 637 fSetArray [7]
- 0.00 0.00 646/725 fMallocHandle [28]
- -----------------------------------------------
- 0.15 0.00 3/3 calcGoodFeature [6]
- [8] 8.2 0.15 0.00 3 calcAreaSum [8]
- 0.00 0.00 6/637 fSetArray [7]
- 0.00 0.00 6/667 fFreeHandle [29]
- 0.00 0.00 3/725 fMallocHandle [28]
- -----------------------------------------------
- <spontaneous>
- [9] 7.3 0.13 0.00 calcSobel_dX [9]
- 0.00 0.00 18/637 fSetArray [7]
- 0.00 0.00 27/667 fFreeHandle [29]
- 0.00 0.00 18/725 fMallocHandle [28]
- -----------------------------------------------
- <spontaneous>
- [10] 6.6 0.12 0.00 imageResize [10]
- 0.00 0.00 10/637 fSetArray [7]
- 0.00 0.00 5/48 iMallocHandle [30]
- 0.00 0.00 5/667 fFreeHandle [29]
- 0.00 0.00 5/39 iFreeHandle [31]
- -----------------------------------------------
- <spontaneous>
- [11] 6.5 0.12 0.00 readImage [11]
- 0.00 0.00 5/48 iMallocHandle [30]
- -----------------------------------------------
- <spontaneous>
- [12] 4.9 0.09 0.00 _IO_file_xsgetn [12]
- -----------------------------------------------
- <spontaneous>
- [13] 3.2 0.06 0.00 memcpy [13]
- -----------------------------------------------
- <spontaneous>
- [14] 1.1 0.00 0.02 getANMS [14]
- 0.02 0.00 15/15 fDeepCopy [16]
- 0.00 0.00 2/637 fSetArray [7]
- 0.00 0.00 31/667 fFreeHandle [29]
- 0.00 0.00 11/725 fMallocHandle [28]
- 0.00 0.00 7/48 iMallocHandle [30]
- 0.00 0.00 7/39 iFreeHandle [31]
- 0.00 0.00 4/4 ffVertcat [32]
- -----------------------------------------------
- <spontaneous>
- [15] 1.1 0.02 0.00 fillFeatures [15]
- 0.00 0.00 1/637 fSetArray [7]
- -----------------------------------------------
- 0.02 0.00 15/15 getANMS [14]
- [16] 1.1 0.02 0.00 15 fDeepCopy [16]
- 0.00 0.00 31/725 fMallocHandle [28]
- -----------------------------------------------
- <spontaneous>
- [17] 1.1 0.02 0.00 __read_nocancel [17]
- -----------------------------------------------
- <spontaneous>
- [18] 1.1 0.02 0.00 __strcasecmp_l_avx [18]
- -----------------------------------------------
- <spontaneous>
- [19] 0.8 0.02 0.00 _L_unlock_163 [19]
- -----------------------------------------------
- <spontaneous>
- [20] 0.5 0.01 0.00 brk [20]
- -----------------------------------------------
- <spontaneous>
- [21] 0.5 0.01 0.00 fReshape [21]
- 0.00 0.00 1/725 fMallocHandle [28]
- -----------------------------------------------
- <spontaneous>
- [22] 0.5 0.01 0.00 fcntl [22]
- -----------------------------------------------
- <spontaneous>
- [23] 0.5 0.01 0.00 _IO_default_xsputn [23]
- -----------------------------------------------
- <spontaneous>
- [24] 0.5 0.01 0.00 _IO_file_xsgetn_mmap [24]
- -----------------------------------------------
- <spontaneous>
- [25] 0.5 0.01 0.00 _IO_sgetn [25]
- -----------------------------------------------
- <spontaneous>
- [26] 0.5 0.01 0.00 __close_nocancel [26]
- -----------------------------------------------
- <spontaneous>
- [27] 0.5 0.01 0.00 __open_nocancel [27]
- -----------------------------------------------
- 0.00 0.00 1/725 fReshape [21]
- 0.00 0.00 1/725 fTranspose [124]
- 0.00 0.00 3/725 calcAreaSum [8]
- 0.00 0.00 4/725 calcPyrLKTrack [4]
- 0.00 0.00 4/725 ffVertcat [32]
- 0.00 0.00 6/725 calcGoodFeature [6]
- 0.00 0.00 11/725 getANMS [14]
- 0.00 0.00 18/725 calcSobel_dX [9]
- 0.00 0.00 31/725 fDeepCopy [16]
- 0.00 0.00 646/725 fSetArray [7]
- [28] 0.0 0.00 0.00 725 fMallocHandle [28]
- -----------------------------------------------
- 0.00 0.00 5/667 imageBlur [2]
- 0.00 0.00 5/667 imageResize [10]
- 0.00 0.00 6/667 calcAreaSum [8]
- 0.00 0.00 8/667 calcGoodFeature [6]
- 0.00 0.00 9/667 calcSobel_dY [3]
- 0.00 0.00 27/667 calcSobel_dX [9]
- 0.00 0.00 31/667 getANMS [14]
- 0.00 0.00 576/667 calcPyrLKTrack [4]
- [29] 0.0 0.00 0.00 667 fFreeHandle [29]
- -----------------------------------------------
- 0.00 0.00 4/48 calcPyrLKTrack [4]
- 0.00 0.00 4/48 iSetArray [33]
- 0.00 0.00 5/48 imageBlur [2]
- 0.00 0.00 5/48 imageResize [10]
- 0.00 0.00 5/48 readImage [11]
- 0.00 0.00 7/48 getANMS [14]
- 0.00 0.00 18/48 calcSobel_dY [3]
- [30] 0.0 0.00 0.00 48 iMallocHandle [30]
- -----------------------------------------------
- 0.00 0.00 4/39 calcPyrLKTrack [4]
- 0.00 0.00 5/39 imageBlur [2]
- 0.00 0.00 5/39 imageResize [10]
- 0.00 0.00 7/39 getANMS [14]
- 0.00 0.00 18/39 calcSobel_dY [3]
- [31] 0.0 0.00 0.00 39 iFreeHandle [31]
- -----------------------------------------------
- 0.00 0.00 4/4 getANMS [14]
- [32] 0.0 0.00 0.00 4 ffVertcat [32]
- 0.00 0.00 4/725 fMallocHandle [28]
- -----------------------------------------------
- 0.00 0.00 4/4 calcPyrLKTrack [4]
- [33] 0.0 0.00 0.00 4 iSetArray [33]
- 0.00 0.00 4/48 iMallocHandle [30]
- -----------------------------------------------
- 0.00 0.00 1/1 __libc_start_main [1060]
- [34] 0.0 0.00 0.00 1 main [34]
- -----------------------------------------------
- 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
- [23] _IO_default_xsputn [6] calcGoodFeature [15] fillFeatures
- [12] _IO_file_xsgetn [4] calcPyrLKTrack [1] fread
- [24] _IO_file_xsgetn_mmap [9] calcSobel_dX [5] getInterpolatePatch
- [25] _IO_sgetn [3] calcSobel_dY [31] iFreeHandle
- [19] _L_unlock_163 [16] fDeepCopy [30] iMallocHandle
- [26] __close_nocancel [29] fFreeHandle [33] iSetArray
- [27] __open_nocancel [28] fMallocHandle [2] imageBlur
- [17] __read_nocancel [21] fReshape [10] imageResize
- [18] __strcasecmp_l_avx [7] fSetArray [34] main
- [20] brk [22] fcntl [13] memcpy
- [8] calcAreaSum [32] ffVertcat [11] readImage
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement