Advertisement
lamiastella

SVM gprof result

Jun 22nd, 2013
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.11 KB | None | 0 0
  1. Flat profile:
  2.  
  3. Each sample counts as 0.01 seconds.
  4. % cumulative self self total
  5. time seconds seconds calls us/call us/call name
  6. 25.64 0.10 0.10 _IO_vfscanf_internal
  7. 17.95 0.17 0.07 124114 0.56 0.60 fMtimes
  8. 10.26 0.21 0.04 99414 0.40 1.21 polynomial
  9. 10.26 0.25 0.04 6441 6.21 25.76 cal_learned_func
  10. 7.69 0.28 0.03 ____strtof_l_internal
  11. 5.13 0.30 0.02 497706 0.04 0.04 fMallocHandle
  12. 5.13 0.32 0.02 __close_nocancel
  13. 5.13 0.34 0.02 __ieee754_pow_sse2
  14. 5.13 0.36 0.02 __open_nocancel
  15. 5.13 0.38 0.02 fDeepCopyRange
  16. 2.56 0.39 0.01 top_check
  17. 0.00 0.39 0.00 252507 0.00 0.00 fFreeHandle
  18. 0.00 0.39 0.00 4564 0.00 36.81 examineExample
  19. 0.00 0.39 0.00 1969 0.00 0.04 fDeepCopy
  20. 0.00 0.39 0.00 1729 0.00 45.94 takeStep
  21. 0.00 0.39 0.00 236 0.00 0.06 fSetArray
  22. 0.00 0.39 0.00 207 0.00 0.04 ffVertcat
  23. 0.00 0.39 0.00 11 0.00 2.84 usps_read_partial
  24. 0.00 0.39 0.00 1 0.00 0.00 main
  25.  
  26. % the percentage of the total running time of the
  27. time program used by this function.
  28.  
  29. cumulative a running sum of the number of seconds accounted
  30. seconds for by this function and those listed above it.
  31.  
  32. self the number of seconds accounted for by this
  33. seconds function alone. This is the major sort for this
  34. listing.
  35.  
  36. calls the number of times this function was invoked, if
  37. this function is profiled, else blank.
  38.  
  39. self the average number of milliseconds spent in this
  40. ms/call function per call, if this function is profiled,
  41. else blank.
  42.  
  43. total the average number of milliseconds spent in this
  44. ms/call function and its descendents per call, if this
  45. function is profiled, else blank.
  46.  
  47. name the name of the function. This is the minor sort
  48. for this listing. The index shows the location of
  49. the function in the gprof listing. If the index is
  50. in parenthesis it shows where it would appear in
  51. the gprof listing if it were to be printed.
  52. Call graph (explanation follows)
  53.  
  54.  
  55. granularity: each sample hit covers 2 byte(s) for 2.56% of 0.39 seconds
  56.  
  57. index % time self children called name
  58. <spontaneous>
  59. [1] 43.1 0.00 0.17 getAlphaFromTrainSet [1]
  60. 0.00 0.17 4564/4564 examineExample [2]
  61. 0.00 0.00 11/11 usps_read_partial [16]
  62. 0.00 0.00 22/236 fSetArray [17]
  63. 0.00 0.00 30/252507 fFreeHandle [20]
  64. -----------------------------------------------
  65. 0.00 0.17 4564/4564 getAlphaFromTrainSet [1]
  66. [2] 43.1 0.00 0.17 4564 examineExample [2]
  67. 0.02 0.07 3437/6441 cal_learned_func [3]
  68. 0.00 0.08 1729/1729 takeStep [6]
  69. -----------------------------------------------
  70. 0.02 0.06 3004/6441 takeStep [6]
  71. 0.02 0.07 3437/6441 examineExample [2]
  72. [3] 42.5 0.04 0.13 6441 cal_learned_func [3]
  73. 0.04 0.08 97839/99414 polynomial [4]
  74. 0.01 0.00 195678/497706 fMallocHandle [10]
  75. -----------------------------------------------
  76. 0.00 0.00 1575/99414 takeStep [6]
  77. 0.04 0.08 97839/99414 cal_learned_func [3]
  78. [4] 30.8 0.04 0.08 99414 polynomial [4]
  79. 0.07 0.00 124114/124114 fMtimes [7]
  80. 0.00 0.00 124114/497706 fMallocHandle [10]
  81. 0.00 0.00 248228/252507 fFreeHandle [20]
  82. -----------------------------------------------
  83. <spontaneous>
  84. [5] 25.6 0.10 0.00 _IO_vfscanf_internal [5]
  85. -----------------------------------------------
  86. 0.00 0.08 1729/1729 examineExample [2]
  87. [6] 20.4 0.00 0.08 1729 takeStep [6]
  88. 0.02 0.06 3004/6441 cal_learned_func [3]
  89. 0.00 0.00 1575/99414 polynomial [4]
  90. 0.00 0.00 1866/497706 fMallocHandle [10]
  91. 0.00 0.00 1718/1969 fDeepCopy [15]
  92. 0.00 0.00 3584/252507 fFreeHandle [20]
  93. -----------------------------------------------
  94. 0.07 0.00 124114/124114 polynomial [4]
  95. [7] 19.2 0.07 0.00 124114 fMtimes [7]
  96. 0.00 0.00 124114/497706 fMallocHandle [10]
  97. -----------------------------------------------
  98. <spontaneous>
  99. [8] 7.7 0.03 0.00 ____strtof_l_internal [8]
  100. -----------------------------------------------
  101. <spontaneous>
  102. [9] 5.6 0.02 0.00 fDeepCopyRange [9]
  103. 0.00 0.00 49400/497706 fMallocHandle [10]
  104. -----------------------------------------------
  105. 0.00 0.00 20/497706 usps_read_partial [16]
  106. 0.00 0.00 207/497706 ffVertcat [18]
  107. 0.00 0.00 338/497706 fSetArray [17]
  108. 0.00 0.00 1866/497706 takeStep [6]
  109. 0.00 0.00 1969/497706 fDeepCopy [15]
  110. 0.00 0.00 49400/497706 fDeepCopyRange [9]
  111. 0.00 0.00 124114/497706 polynomial [4]
  112. 0.00 0.00 124114/497706 fMtimes [7]
  113. 0.01 0.00 195678/497706 cal_learned_func [3]
  114. [10] 5.1 0.02 0.00 497706 fMallocHandle [10]
  115. -----------------------------------------------
  116. <spontaneous>
  117. [11] 5.1 0.02 0.00 __close_nocancel [11]
  118. -----------------------------------------------
  119. <spontaneous>
  120. [12] 5.1 0.02 0.00 __ieee754_pow_sse2 [12]
  121. -----------------------------------------------
  122. <spontaneous>
  123. [13] 5.1 0.02 0.00 __open_nocancel [13]
  124. -----------------------------------------------
  125. <spontaneous>
  126. [14] 2.6 0.01 0.00 top_check [14]
  127. -----------------------------------------------
  128. 0.00 0.00 251/1969 usps_read_partial [16]
  129. 0.00 0.00 1718/1969 takeStep [6]
  130. [15] 0.0 0.00 0.00 1969 fDeepCopy [15]
  131. 0.00 0.00 1969/497706 fMallocHandle [10]
  132. -----------------------------------------------
  133. 0.00 0.00 11/11 getAlphaFromTrainSet [1]
  134. [16] 0.0 0.00 0.00 11 usps_read_partial [16]
  135. 0.00 0.00 210/236 fSetArray [17]
  136. 0.00 0.00 251/1969 fDeepCopy [15]
  137. 0.00 0.00 207/207 ffVertcat [18]
  138. 0.00 0.00 20/497706 fMallocHandle [10]
  139. 0.00 0.00 665/252507 fFreeHandle [20]
  140. -----------------------------------------------
  141. 0.00 0.00 4/236 readFile [19]
  142. 0.00 0.00 22/236 getAlphaFromTrainSet [1]
  143. 0.00 0.00 210/236 usps_read_partial [16]
  144. [17] 0.0 0.00 0.00 236 fSetArray [17]
  145. 0.00 0.00 338/497706 fMallocHandle [10]
  146. -----------------------------------------------
  147. 0.00 0.00 207/207 usps_read_partial [16]
  148. [18] 0.0 0.00 0.00 207 ffVertcat [18]
  149. 0.00 0.00 207/497706 fMallocHandle [10]
  150. -----------------------------------------------
  151. <spontaneous>
  152. [19] 0.0 0.00 0.00 readFile [19]
  153. 0.00 0.00 4/236 fSetArray [17]
  154. -----------------------------------------------
  155. 0.00 0.00 30/252507 getAlphaFromTrainSet [1]
  156. 0.00 0.00 665/252507 usps_read_partial [16]
  157. 0.00 0.00 3584/252507 takeStep [6]
  158. 0.00 0.00 248228/252507 polynomial [4]
  159. [20] 0.0 0.00 0.00 252507 fFreeHandle [20]
  160. -----------------------------------------------
  161. 0.00 0.00 1/1 __libc_start_main [1069]
  162. [21] 0.0 0.00 0.00 1 main [21]
  163. -----------------------------------------------
  164.  
  165. This table describes the call tree of the program, and was sorted by
  166. the total amount of time spent in each function and its children.
  167.  
  168. Each entry in this table consists of several lines. The line with the
  169. index number at the left hand margin lists the current function.
  170. The lines above it list the functions that called this function,
  171. and the lines below it list the functions this one called.
  172. This line lists:
  173. index A unique number given to each element of the table.
  174. Index numbers are sorted numerically.
  175. The index number is printed next to every function name so
  176. it is easier to look up where the function in the table.
  177.  
  178. % time This is the percentage of the `total' time that was spent
  179. in this function and its children. Note that due to
  180. different viewpoints, functions excluded by options, etc,
  181. these numbers will NOT add up to 100%.
  182.  
  183. self This is the total amount of time spent in this function.
  184.  
  185. children This is the total amount of time propagated into this
  186. function by its children.
  187.  
  188. called This is the number of times the function was called.
  189. If the function called itself recursively, the number
  190. only includes non-recursive calls, and is followed by
  191. a `+' and the number of recursive calls.
  192.  
  193. name The name of the current function. The index number is
  194. printed after it. If the function is a member of a
  195. cycle, the cycle number is printed between the
  196. function's name and the index number.
  197.  
  198.  
  199. For the function's parents, the fields have the following meanings:
  200.  
  201. self This is the amount of time that was propagated directly
  202. from the function into this parent.
  203.  
  204. children This is the amount of time that was propagated from
  205. the function's children into this parent.
  206.  
  207. called This is the number of times this parent called the
  208. function `/' the total number of times the function
  209. was called. Recursive calls to the function are not
  210. included in the number after the `/'.
  211.  
  212. name This is the name of the parent. The parent's index
  213. number is printed after it. If the parent is a
  214. member of a cycle, the cycle number is printed between
  215. the name and the index number.
  216.  
  217. If the parents of the function cannot be determined, the word
  218. `<spontaneous>' is printed in the `name' field, and all the other
  219. fields are blank.
  220.  
  221. For the function's children, the fields have the following meanings:
  222.  
  223. self This is the amount of time that was propagated directly
  224. from the child into the function.
  225.  
  226. children This is the amount of time that was propagated from the
  227. child's children to the function.
  228.  
  229. called This is the number of times the function called
  230. this child `/' the total number of times the child
  231. was called. Recursive calls by the child are not
  232. listed in the number after the `/'.
  233.  
  234. name This is the name of the child. The child's index
  235. number is printed after it. If the child is a
  236. member of a cycle, the cycle number is printed
  237. between the name and the index number.
  238.  
  239. If there are any cycles (circles) in the call graph, there is an
  240. entry for the cycle-as-a-whole. This entry shows who called the
  241. cycle (as parents) and the members of the cycle (as children.)
  242. The `+' recursive calls entry shows the number of function calls that
  243. were internal to the cycle, and the calls entry for each member shows,
  244. for that member, how many times it was called from other members of
  245. the cycle.
  246.  
  247. Index by function name
  248.  
  249. [5] _IO_vfscanf_internal [15] fDeepCopy [21] main
  250. [8] ____strtof_l_internal [9] fDeepCopyRange [4] polynomial
  251. [11] __close_nocancel [20] fFreeHandle [6] takeStep
  252. [12] __ieee754_pow_sse2 [10] fMallocHandle [14] top_check
  253. [13] __open_nocancel [7] fMtimes [16] usps_read_partial
  254. [3] cal_learned_func [17] fSetArray
  255. [2] examineExample [18] ffVertcat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement