analysis.txt 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. Flat profile:
  2. Each sample counts as 0.01 seconds.
  3. % cumulative self self total
  4. time seconds seconds calls us/call us/call name
  5. 38.03 12.73 12.73 15000000 0.85 0.85 nmie::MultiLayerMie::calcD1D3(std::complex<double>, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&)
  6. 27.31 21.87 9.14 1500000 6.09 14.87 nmie::MultiLayerMie::ScattCoeffs(std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&)
  7. 5.98 23.87 2.00 _int_malloc
  8. 4.03 25.22 1.35 1500000 0.90 16.73 nmie::MultiLayerMie::RunMieCalculations()
  9. 3.76 26.48 1.26 _int_free
  10. 3.59 27.68 1.20 93000000 0.01 0.01 std::vector<std::complex<double>, std::allocator<std::complex<double> > >::_M_default_append(unsigned long)
  11. 2.72 28.59 0.91 malloc_consolidate
  12. 2.33 29.37 0.78 malloc
  13. 2.06 30.06 0.69 __cos_avx
  14. 1.79 30.66 0.60 __dubsin
  15. 1.70 31.23 0.57 __sin_avx
  16. 1.67 31.79 0.56 1500000 0.37 0.37 nmie::MultiLayerMie::calcPiTau(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >&)
  17. 1.43 32.27 0.48 __ieee754_exp_avx
  18. 0.57 32.46 0.19 cfree
  19. 0.45 32.61 0.15 memset
  20. 0.30 32.71 0.10 operator new(unsigned long)
  21. 0.27 32.80 0.09 brk
  22. 0.24 32.88 0.08 1500000 0.05 0.05 nmie::MultiLayerMie::Nmax(int)
  23. 0.21 32.95 0.07 __malloc_check_init
  24. 0.21 33.02 0.07 1500000 0.05 0.05 nmie::MultiLayerMie::SetWidthSP(std::vector<double, std::allocator<double> > const&)
  25. 0.21 33.09 0.07 nmie::nMie_wrapper(int, std::vector<double, std::allocator<double> > const&, std::vector<std::complex<double>, std::allocator<std::complex<double> > > const&, int, std::vector<double, std::allocator<double> > const&, double*, double*, double*, double*, double*, double*, double*, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&)
  26. 0.16 33.15 0.06 sincos
  27. 0.15 33.20 0.05 __profile_frequency
  28. 0.15 33.25 0.05 _mid_memalign
  29. 0.15 33.30 0.05 free_check
  30. 0.12 33.34 0.04 3000000 0.01 0.01 std::vector<std::complex<double>, std::allocator<std::complex<double> > >::operator=(std::vector<std::complex<double>, std::allocator<std::complex<double> > > const&)
  31. 0.10 33.37 0.04 csloww
  32. 0.09 33.40 0.03 int_mallinfo
  33. 0.06 33.42 0.02 1500000 0.01 0.03 nmie::MultiLayerMie::InitMieCalculations()
  34. 0.06 33.44 0.02 void std::vector<std::array<double, 5ul>, std::allocator<std::array<double, 5ul> > >::_M_emplace_back_aux<std::array<double, 5ul> >(std::array<double, 5ul>&&)
  35. 0.04 33.46 0.02 __sin_sse2
  36. 0.03 33.47 0.01 bsloww2
  37. 0.01 33.47 0.01 bsloww
  38. 0.00 33.47 0.00 1500000 0.00 0.00 std::vector<double, std::allocator<double> >::operator=(std::vector<double, std::allocator<double> > const&)
  39. 0.00 33.47 0.00 1 0.00 0.00 _GLOBAL__sub_I__ZN4nmie12nMie_wrapperEiRKSt6vectorIdSaIdEERKS0_ISt7complexIdESaIS6_EEiS4_PdSB_SB_SB_SB_SB_SB_RS8_SC_
  40. 0.00 33.47 0.00 1 0.00 0.00 _GLOBAL__sub_I_main
  41. 0.00 33.47 0.00 1 0.00 0.00 main
  42. % the percentage of the total running time of the
  43. time program used by this function.
  44. cumulative a running sum of the number of seconds accounted
  45. seconds for by this function and those listed above it.
  46. self the number of seconds accounted for by this
  47. seconds function alone. This is the major sort for this
  48. listing.
  49. calls the number of times this function was invoked, if
  50. this function is profiled, else blank.
  51. self the average number of milliseconds spent in this
  52. ms/call function per call, if this function is profiled,
  53. else blank.
  54. total the average number of milliseconds spent in this
  55. ms/call function and its descendents per call, if this
  56. function is profiled, else blank.
  57. name the name of the function. This is the minor sort
  58. for this listing. The index shows the location of
  59. the function in the gprof listing. If the index is
  60. in parenthesis it shows where it would appear in
  61. the gprof listing if it were to be printed.
  62. Copyright (C) 2012-2014 Free Software Foundation, Inc.
  63. Copying and distribution of this file, with or without modification,
  64. are permitted in any medium without royalty provided the copyright
  65. notice and this notice are preserved.
  66. Call graph (explanation follows)
  67. granularity: each sample hit covers 2 byte(s) for 0.03% of 33.47 seconds
  68. index % time self children called name
  69. <spontaneous>
  70. [1] 75.5 0.07 25.19 nmie::nMie_wrapper(int, std::vector<double, std::allocator<double> > const&, std::vector<std::complex<double>, std::allocator<std::complex<double> > > const&, int, std::vector<double, std::allocator<double> > const&, double*, double*, double*, double*, double*, double*, double*, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [1]
  71. 1.35 23.75 1500000/1500000 nmie::MultiLayerMie::RunMieCalculations() [2]
  72. 0.07 0.00 1500000/1500000 nmie::MultiLayerMie::SetWidthSP(std::vector<double, std::allocator<double> > const&) [21]
  73. 0.02 0.00 1500000/3000000 std::vector<std::complex<double>, std::allocator<std::complex<double> > >::operator=(std::vector<std::complex<double>, std::allocator<std::complex<double> > > const&) [26]
  74. 0.00 0.00 1500000/1500000 std::vector<double, std::allocator<double> >::operator=(std::vector<double, std::allocator<double> > const&) [449]
  75. -----------------------------------------------
  76. 1.35 23.75 1500000/1500000 nmie::nMie_wrapper(int, std::vector<double, std::allocator<double> > const&, std::vector<std::complex<double>, std::allocator<std::complex<double> > > const&, int, std::vector<double, std::allocator<double> > const&, double*, double*, double*, double*, double*, double*, double*, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [1]
  77. [2] 75.0 1.35 23.75 1500000 nmie::MultiLayerMie::RunMieCalculations() [2]
  78. 9.14 13.16 1500000/1500000 nmie::MultiLayerMie::ScattCoeffs(std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [3]
  79. 0.85 0.00 66000000/93000000 std::vector<std::complex<double>, std::allocator<std::complex<double> > >::_M_default_append(unsigned long) [7]
  80. 0.56 0.00 1500000/1500000 nmie::MultiLayerMie::calcPiTau(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >&) [13]
  81. 0.02 0.02 1500000/1500000 nmie::MultiLayerMie::InitMieCalculations() [27]
  82. -----------------------------------------------
  83. 9.14 13.16 1500000/1500000 nmie::MultiLayerMie::RunMieCalculations() [2]
  84. [3] 66.6 9.14 13.16 1500000 nmie::MultiLayerMie::ScattCoeffs(std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [3]
  85. 12.73 0.00 15000000/15000000 nmie::MultiLayerMie::calcD1D3(std::complex<double>, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [4]
  86. 0.35 0.00 27000000/93000000 std::vector<std::complex<double>, std::allocator<std::complex<double> > >::_M_default_append(unsigned long) [7]
  87. 0.08 0.00 1500000/1500000 nmie::MultiLayerMie::Nmax(int) [19]
  88. -----------------------------------------------
  89. 12.73 0.00 15000000/15000000 nmie::MultiLayerMie::ScattCoeffs(std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [3]
  90. [4] 38.0 12.73 0.00 15000000 nmie::MultiLayerMie::calcD1D3(std::complex<double>, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [4]
  91. -----------------------------------------------
  92. <spontaneous>
  93. [5] 6.0 2.00 0.00 _int_malloc [5]
  94. -----------------------------------------------
  95. <spontaneous>
  96. [6] 3.8 1.26 0.00 _int_free [6]
  97. -----------------------------------------------
  98. 0.35 0.00 27000000/93000000 nmie::MultiLayerMie::ScattCoeffs(std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [3]
  99. 0.85 0.00 66000000/93000000 nmie::MultiLayerMie::RunMieCalculations() [2]
  100. [7] 3.6 1.20 0.00 93000000 std::vector<std::complex<double>, std::allocator<std::complex<double> > >::_M_default_append(unsigned long) [7]
  101. -----------------------------------------------
  102. <spontaneous>
  103. [8] 2.7 0.91 0.00 malloc_consolidate [8]
  104. -----------------------------------------------
  105. <spontaneous>
  106. [9] 2.3 0.78 0.00 malloc [9]
  107. -----------------------------------------------
  108. <spontaneous>
  109. [10] 2.1 0.69 0.00 __cos_avx [10]
  110. -----------------------------------------------
  111. <spontaneous>
  112. [11] 1.8 0.60 0.00 __dubsin [11]
  113. -----------------------------------------------
  114. <spontaneous>
  115. [12] 1.7 0.57 0.00 __sin_avx [12]
  116. -----------------------------------------------
  117. 0.56 0.00 1500000/1500000 nmie::MultiLayerMie::RunMieCalculations() [2]
  118. [13] 1.7 0.56 0.00 1500000 nmie::MultiLayerMie::calcPiTau(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >&) [13]
  119. -----------------------------------------------
  120. <spontaneous>
  121. [14] 1.4 0.48 0.00 __ieee754_exp_avx [14]
  122. -----------------------------------------------
  123. <spontaneous>
  124. [15] 0.6 0.19 0.00 cfree [15]
  125. -----------------------------------------------
  126. <spontaneous>
  127. [16] 0.4 0.15 0.00 memset [16]
  128. -----------------------------------------------
  129. <spontaneous>
  130. [17] 0.3 0.10 0.00 operator new(unsigned long) [17]
  131. -----------------------------------------------
  132. <spontaneous>
  133. [18] 0.3 0.09 0.00 brk [18]
  134. -----------------------------------------------
  135. 0.08 0.00 1500000/1500000 nmie::MultiLayerMie::ScattCoeffs(std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [3]
  136. [19] 0.2 0.08 0.00 1500000 nmie::MultiLayerMie::Nmax(int) [19]
  137. -----------------------------------------------
  138. <spontaneous>
  139. [20] 0.2 0.07 0.00 __malloc_check_init [20]
  140. -----------------------------------------------
  141. 0.07 0.00 1500000/1500000 nmie::nMie_wrapper(int, std::vector<double, std::allocator<double> > const&, std::vector<std::complex<double>, std::allocator<std::complex<double> > > const&, int, std::vector<double, std::allocator<double> > const&, double*, double*, double*, double*, double*, double*, double*, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [1]
  142. [21] 0.2 0.07 0.00 1500000 nmie::MultiLayerMie::SetWidthSP(std::vector<double, std::allocator<double> > const&) [21]
  143. -----------------------------------------------
  144. <spontaneous>
  145. [22] 0.2 0.06 0.00 sincos [22]
  146. -----------------------------------------------
  147. <spontaneous>
  148. [23] 0.1 0.05 0.00 free_check [23]
  149. -----------------------------------------------
  150. <spontaneous>
  151. [24] 0.1 0.05 0.00 __profile_frequency [24]
  152. -----------------------------------------------
  153. <spontaneous>
  154. [25] 0.1 0.05 0.00 _mid_memalign [25]
  155. -----------------------------------------------
  156. 0.02 0.00 1500000/3000000 nmie::MultiLayerMie::InitMieCalculations() [27]
  157. 0.02 0.00 1500000/3000000 nmie::nMie_wrapper(int, std::vector<double, std::allocator<double> > const&, std::vector<std::complex<double>, std::allocator<std::complex<double> > > const&, int, std::vector<double, std::allocator<double> > const&, double*, double*, double*, double*, double*, double*, double*, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [1]
  158. [26] 0.1 0.04 0.00 3000000 std::vector<std::complex<double>, std::allocator<std::complex<double> > >::operator=(std::vector<std::complex<double>, std::allocator<std::complex<double> > > const&) [26]
  159. -----------------------------------------------
  160. 0.02 0.02 1500000/1500000 nmie::MultiLayerMie::RunMieCalculations() [2]
  161. [27] 0.1 0.02 0.02 1500000 nmie::MultiLayerMie::InitMieCalculations() [27]
  162. 0.02 0.00 1500000/3000000 std::vector<std::complex<double>, std::allocator<std::complex<double> > >::operator=(std::vector<std::complex<double>, std::allocator<std::complex<double> > > const&) [26]
  163. -----------------------------------------------
  164. <spontaneous>
  165. [28] 0.1 0.04 0.00 csloww [28]
  166. -----------------------------------------------
  167. <spontaneous>
  168. [29] 0.1 0.03 0.00 int_mallinfo [29]
  169. -----------------------------------------------
  170. <spontaneous>
  171. [30] 0.1 0.02 0.00 void std::vector<std::array<double, 5ul>, std::allocator<std::array<double, 5ul> > >::_M_emplace_back_aux<std::array<double, 5ul> >(std::array<double, 5ul>&&) [30]
  172. -----------------------------------------------
  173. <spontaneous>
  174. [31] 0.0 0.02 0.00 __sin_sse2 [31]
  175. -----------------------------------------------
  176. <spontaneous>
  177. [32] 0.0 0.01 0.00 bsloww2 [32]
  178. -----------------------------------------------
  179. <spontaneous>
  180. [33] 0.0 0.01 0.00 bsloww [33]
  181. -----------------------------------------------
  182. 0.00 0.00 1/1 __libc_start_main [2940]
  183. [34] 0.0 0.00 0.00 1 main [34]
  184. -----------------------------------------------
  185. 0.00 0.00 1500000/1500000 nmie::nMie_wrapper(int, std::vector<double, std::allocator<double> > const&, std::vector<std::complex<double>, std::allocator<std::complex<double> > > const&, int, std::vector<double, std::allocator<double> > const&, double*, double*, double*, double*, double*, double*, double*, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [1]
  186. [449] 0.0 0.00 0.00 1500000 std::vector<double, std::allocator<double> >::operator=(std::vector<double, std::allocator<double> > const&) [449]
  187. -----------------------------------------------
  188. 0.00 0.00 1/1 __libc_csu_init [2925]
  189. [450] 0.0 0.00 0.00 1 _GLOBAL__sub_I__ZN4nmie12nMie_wrapperEiRKSt6vectorIdSaIdEERKS0_ISt7complexIdESaIS6_EEiS4_PdSB_SB_SB_SB_SB_SB_RS8_SC_ [450]
  190. -----------------------------------------------
  191. 0.00 0.00 1/1 __libc_csu_init [2925]
  192. [451] 0.0 0.00 0.00 1 _GLOBAL__sub_I_main [451]
  193. -----------------------------------------------
  194. This table describes the call tree of the program, and was sorted by
  195. the total amount of time spent in each function and its children.
  196. Each entry in this table consists of several lines. The line with the
  197. index number at the left hand margin lists the current function.
  198. The lines above it list the functions that called this function,
  199. and the lines below it list the functions this one called.
  200. This line lists:
  201. index A unique number given to each element of the table.
  202. Index numbers are sorted numerically.
  203. The index number is printed next to every function name so
  204. it is easier to look up where the function is in the table.
  205. % time This is the percentage of the `total' time that was spent
  206. in this function and its children. Note that due to
  207. different viewpoints, functions excluded by options, etc,
  208. these numbers will NOT add up to 100%.
  209. self This is the total amount of time spent in this function.
  210. children This is the total amount of time propagated into this
  211. function by its children.
  212. called This is the number of times the function was called.
  213. If the function called itself recursively, the number
  214. only includes non-recursive calls, and is followed by
  215. a `+' and the number of recursive calls.
  216. name The name of the current function. The index number is
  217. printed after it. If the function is a member of a
  218. cycle, the cycle number is printed between the
  219. function's name and the index number.
  220. For the function's parents, the fields have the following meanings:
  221. self This is the amount of time that was propagated directly
  222. from the function into this parent.
  223. children This is the amount of time that was propagated from
  224. the function's children into this parent.
  225. called This is the number of times this parent called the
  226. function `/' the total number of times the function
  227. was called. Recursive calls to the function are not
  228. included in the number after the `/'.
  229. name This is the name of the parent. The parent's index
  230. number is printed after it. If the parent is a
  231. member of a cycle, the cycle number is printed between
  232. the name and the index number.
  233. If the parents of the function cannot be determined, the word
  234. `<spontaneous>' is printed in the `name' field, and all the other
  235. fields are blank.
  236. For the function's children, the fields have the following meanings:
  237. self This is the amount of time that was propagated directly
  238. from the child into the function.
  239. children This is the amount of time that was propagated from the
  240. child's children to the function.
  241. called This is the number of times the function called
  242. this child `/' the total number of times the child
  243. was called. Recursive calls by the child are not
  244. listed in the number after the `/'.
  245. name This is the name of the child. The child's index
  246. number is printed after it. If the child is a
  247. member of a cycle, the cycle number is printed
  248. between the name and the index number.
  249. If there are any cycles (circles) in the call graph, there is an
  250. entry for the cycle-as-a-whole. This entry shows who called the
  251. cycle (as parents) and the members of the cycle (as children.)
  252. The `+' recursive calls entry shows the number of function calls that
  253. were internal to the cycle, and the calls entry for each member shows,
  254. for that member, how many times it was called from other members of
  255. the cycle.
  256. Copyright (C) 2012-2014 Free Software Foundation, Inc.
  257. Copying and distribution of this file, with or without modification,
  258. are permitted in any medium without royalty provided the copyright
  259. notice and this notice are preserved.
  260. Index by function name
  261. [450] _GLOBAL__sub_I__ZN4nmie12nMie_wrapperEiRKSt6vectorIdSaIdEERKS0_ISt7complexIdESaIS6_EEiS4_PdSB_SB_SB_SB_SB_SB_RS8_SC_ [449] std::vector<double, std::allocator<double> >::operator=(std::vector<double, std::allocator<double> > const&) [33] bsloww
  262. [451] _GLOBAL__sub_I_main [17] operator new(unsigned long) [32] bsloww2
  263. [1] nmie::nMie_wrapper(int, std::vector<double, std::allocator<double> > const&, std::vector<std::complex<double>, std::allocator<std::complex<double> > > const&, int, std::vector<double, std::allocator<double> > const&, double*, double*, double*, double*, double*, double*, double*, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [10] __cos_avx [15] cfree
  264. [21] nmie::MultiLayerMie::SetWidthSP(std::vector<double, std::allocator<double> > const&) [11] __dubsin [28] csloww
  265. [3] nmie::MultiLayerMie::ScattCoeffs(std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [14] __ieee754_exp_avx [23] free_check
  266. [2] nmie::MultiLayerMie::RunMieCalculations() [20] __malloc_check_init [29] int_mallinfo
  267. [27] nmie::MultiLayerMie::InitMieCalculations() [24] __profile_frequency [34] main
  268. [19] nmie::MultiLayerMie::Nmax(int) [12] __sin_avx [9] malloc
  269. [4] nmie::MultiLayerMie::calcD1D3(std::complex<double>, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&, std::vector<std::complex<double>, std::allocator<std::complex<double> > >&) [31] __sin_sse2 [8] malloc_consolidate
  270. [13] nmie::MultiLayerMie::calcPiTau(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >&) [6] _int_free [16] memset
  271. [30] void std::vector<std::array<double, 5ul>, std::allocator<std::array<double, 5ul> > >::_M_emplace_back_aux<std::array<double, 5ul> >(std::array<double, 5ul>&&) [5] _int_malloc [22] sincos
  272. [7] std::vector<std::complex<double>, std::allocator<std::complex<double> > >::_M_default_append(unsigned long) [25] _mid_memalign
  273. [26] std::vector<std::complex<double>, std::allocator<std::complex<double> > >::operator=(std::vector<std::complex<double>, std::allocator<std::complex<double> > > const&) [18] brk