startup.c.069i.profile_estimate 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. Histogram:
  2. init_data_bss ()
  3. {
  4. uint32 j;
  5. uint32 i;
  6. uint32 size;
  7. uint32 len;
  8. uint8 * ram;
  9. const uint8 * rom;
  10. long unsigned int _1;
  11. const struct Sys_CopyLayoutType * _2;
  12. uint8 * _3;
  13. long unsigned int _4;
  14. long unsigned int _5;
  15. const uint8 * _6;
  16. uint8 * _7;
  17. unsigned char _8;
  18. long unsigned int _9;
  19. const struct Sys_ZeroLayoutType * _10;
  20. uint8 * _11;
  21. long unsigned int _12;
  22. long unsigned int _13;
  23. uint8 * _14;
  24. <bb 2> [local count: 14598062]:
  25. # DEBUG BEGIN_STMT
  26. # DEBUG BEGIN_STMT
  27. # DEBUG BEGIN_STMT
  28. # DEBUG BEGIN_STMT
  29. # DEBUG BEGIN_STMT
  30. # DEBUG len => 0
  31. # DEBUG BEGIN_STMT
  32. # DEBUG size => 0
  33. # DEBUG BEGIN_STMT
  34. # DEBUG i => 0
  35. # DEBUG BEGIN_STMT
  36. # DEBUG j => 0
  37. # DEBUG BEGIN_STMT
  38. # DEBUG initTable_Ptr => &__INIT_TABLE
  39. # DEBUG BEGIN_STMT
  40. # DEBUG zeroTable_Ptr => &__ZERO_TABLE
  41. # DEBUG BEGIN_STMT
  42. len_24 = MEM[(const uint32 *)&__INIT_TABLE];
  43. # DEBUG len => len_24
  44. # DEBUG BEGIN_STMT
  45. # DEBUG initTable_Ptr => &MEM[(void *)&__INIT_TABLE + 4B]
  46. # DEBUG BEGIN_STMT
  47. # DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
  48. # DEBUG BEGIN_STMT
  49. # DEBUG i => 0
  50. goto <bb 7>; [100.00%]
  51. <bb 3> [local count: 118111595]:
  52. # DEBUG BEGIN_STMT
  53. _1 = i_15 * 12;
  54. _2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
  55. rom_31 = _2->rom_start;
  56. # DEBUG rom => rom_31
  57. # DEBUG BEGIN_STMT
  58. ram_32 = _2->ram_start;
  59. # DEBUG ram => ram_32
  60. # DEBUG BEGIN_STMT
  61. _3 = _2->rom_end;
  62. _4 = (long unsigned int) _3;
  63. _5 = (long unsigned int) rom_31;
  64. size_33 = _4 - _5;
  65. # DEBUG size => size_33
  66. # DEBUG BEGIN_STMT
  67. # DEBUG j => 0
  68. goto <bb 5>; [100.00%]
  69. <bb 4> [local count: 955630185]:
  70. # DEBUG BEGIN_STMT
  71. _6 = rom_31 + j_17;
  72. _7 = ram_32 + j_17;
  73. _8 = *_6;
  74. *_7 = _8;
  75. # DEBUG BEGIN_STMT
  76. j_36 = j_17 + 1;
  77. # DEBUG j => j_36
  78. <bb 5> [local count: 1073741782]:
  79. # j_17 = PHI <0(3), j_36(4)>
  80. # DEBUG j => j_17
  81. # DEBUG BEGIN_STMT
  82. if (j_17 < size_33)
  83. goto <bb 4>; [89.00%]
  84. else
  85. goto <bb 6>; [11.00%]
  86. <bb 6> [local count: 118111596]:
  87. # DEBUG BEGIN_STMT
  88. i_34 = i_15 + 1;
  89. # DEBUG i => i_34
  90. <bb 7> [local count: 132709658]:
  91. # i_15 = PHI <0(2), i_34(6)>
  92. # DEBUG i => i_15
  93. # DEBUG BEGIN_STMT
  94. if (i_15 < len_24)
  95. goto <bb 3>; [89.00%]
  96. else
  97. goto <bb 8>; [11.00%]
  98. <bb 8> [local count: 14598062]:
  99. # DEBUG BEGIN_STMT
  100. len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
  101. # DEBUG len => len_25
  102. # DEBUG BEGIN_STMT
  103. # DEBUG zeroTable_Ptr => &MEM[(void *)&__ZERO_TABLE + 4B]
  104. # DEBUG BEGIN_STMT
  105. # DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
  106. # DEBUG BEGIN_STMT
  107. # DEBUG i => 0
  108. goto <bb 13>; [100.00%]
  109. <bb 9> [local count: 118111600]:
  110. # DEBUG BEGIN_STMT
  111. _9 = i_16 * 8;
  112. _10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
  113. ram_26 = _10->ram_start;
  114. # DEBUG ram => ram_26
  115. # DEBUG BEGIN_STMT
  116. _11 = _10->ram_end;
  117. _12 = (long unsigned int) _11;
  118. _13 = (long unsigned int) ram_26;
  119. size_27 = _12 - _13;
  120. # DEBUG size => size_27
  121. # DEBUG BEGIN_STMT
  122. # DEBUG j => 0
  123. goto <bb 11>; [100.00%]
  124. <bb 10> [local count: 955630224]:
  125. # DEBUG BEGIN_STMT
  126. _14 = ram_26 + j_18;
  127. *_14 = 0;
  128. # DEBUG BEGIN_STMT
  129. j_30 = j_18 + 1;
  130. # DEBUG j => j_30
  131. <bb 11> [local count: 1073741824]:
  132. # j_18 = PHI <0(9), j_30(10)>
  133. # DEBUG j => j_18
  134. # DEBUG BEGIN_STMT
  135. if (j_18 < size_27)
  136. goto <bb 10>; [89.00%]
  137. else
  138. goto <bb 12>; [11.00%]
  139. <bb 12> [local count: 118111601]:
  140. # DEBUG BEGIN_STMT
  141. i_28 = i_16 + 1;
  142. # DEBUG i => i_28
  143. <bb 13> [local count: 132709663]:
  144. # i_16 = PHI <0(8), i_28(12)>
  145. # DEBUG i => i_16
  146. # DEBUG BEGIN_STMT
  147. if (i_16 < len_25)
  148. goto <bb 9>; [89.00%]
  149. else
  150. goto <bb 14>; [11.00%]
  151. <bb 14> [local count: 14598063]:
  152. return;
  153. }