| OLD | NEW |
| 1 # Show pydoc for main types: | 1 # Show pydoc for main types: |
| 2 import models | 2 import models |
| 3 help(models) | 3 help(models) |
| 4 | 4 |
| 5 # Show all attributes of all symbols & per-section totals: | 5 # Show all attributes of all symbols & per-section totals: |
| 6 Print(size_info, verbose=True) | 6 Print(size_info, verbose=True) |
| 7 | 7 |
| 8 # Show two levels of .text, grouped by first two subdirectories | 8 # Show two levels of .text, grouped by first two subdirectories |
| 9 text_syms = size_info.symbols.WhereInSection("t") | 9 text_syms = size_info.symbols.WhereInSection("t") |
| 10 by_path = text_syms.GroupBySourcePath(depth=2) | 10 by_path = text_syms.GroupBySourcePath(depth=2) |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 map_file_name=../test.map | 34 map_file_name=../test.map |
| 35 | 35 |
| 36 Section Sizes (Total=43,785,380 bytes): | 36 Section Sizes (Total=43,785,380 bytes): |
| 37 .bss: 1,300,456 bytes (not included in totals) | 37 .bss: 1,300,456 bytes (not included in totals) |
| 38 .data: 101,768 bytes (0.2%) | 38 .data: 101,768 bytes (0.2%) |
| 39 .data.rel.ro: 1,065,224 bytes (2.4%) | 39 .data.rel.ro: 1,065,224 bytes (2.4%) |
| 40 .data.rel.ro.local: 790,024 bytes (1.8%) | 40 .data.rel.ro.local: 790,024 bytes (1.8%) |
| 41 .rodata: 5,927,652 bytes (13.5%) | 41 .rodata: 5,927,652 bytes (13.5%) |
| 42 .text: 35,900,712 bytes (82.0%) | 42 .text: 35,900,712 bytes (82.0%) |
| 43 | 43 |
| 44 Showing 48 symbols with total pss: 44309900 bytes | 44 Showing 48 symbols (45 unique) with total pss: 44309900 bytes |
| 45 .text=34.2mb .rodata=5.65mb other=2.37mb total=42.3mb | 45 .text=34.2mb .rodata=5.65mb other=2.37mb total=42.3mb |
| 46 Number of object files: 10 | 46 Number of object files: 10 |
| 47 | 47 |
| 48 First columns are: running total, address, pss | 48 First columns are: running total, address, pss |
| 49 35821002 t@0x24ca628 35821002 {no path} | 49 35821002 t@0x24ca628 35821002 {no path} |
| 50 ** symbol gap 2 (end of section) | 50 ** symbol gap 2 (end of section) |
| 51 39107114 r@0x2c158e4 3286112 {no path} | 51 39107114 r@0x2c158e4 3286112 {no path} |
| 52 ** symbol gap 3 (end of section) | 52 ** symbol gap 3 (end of section) |
| 53 41072523 r@0x266e600 1965409 {no path} | 53 41072523 r@0x266e600 1965409 {no path} |
| 54 ** merge strings | 54 ** merge strings |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 43785380 b@0x0 131072 third_party/fft_fixed.cc | 134 43785380 b@0x0 131072 third_party/fft_fixed.cc |
| 135 ff_cos_131072_fixed | 135 ff_cos_131072_fixed |
| 136 43785380 b@0x0 131072 third_party/fft_float.cc | 136 43785380 b@0x0 131072 third_party/fft_float.cc |
| 137 ff_cos_65536 | 137 ff_cos_65536 |
| 138 43785380 b@0x2dffe80 200 third_party/icu/ucnv_ext.c | 138 43785380 b@0x2dffe80 200 third_party/icu/ucnv_ext.c |
| 139 SaveHistogram::atomic_histogram_pointer | 139 SaveHistogram::atomic_histogram_pointer |
| 140 43785380 b@0x2dffda0 28 third_party/icu/ucnv_ext.c | 140 43785380 b@0x2dffda0 28 third_party/icu/ucnv_ext.c |
| 141 g_chrome_content_browser_client | 141 g_chrome_content_browser_client |
| 142 43785380 b@0x2dffe84 4 third_party/icu/ucnv_ext.c | 142 43785380 b@0x2dffe84 4 third_party/icu/ucnv_ext.c |
| 143 g_AnimationFrameTimeHistogram_clazz | 143 g_AnimationFrameTimeHistogram_clazz |
| OLD | NEW |