1<!DOCTYPE html> 2<html> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 5 <title>quickstart_memory_template</title> 6 7 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 8 9 <style> 10 code[class*='smartperf-'], 11 pre[class*='smartperf-'] { 12 color: #333333; 13 background: none; 14 font-family: Helvetica; 15 line-height: 1.6; 16 text-align: left; 17 white-space: pre; 18 -moz-tab-size: 9; 19 -o-tab-size: 9; 20 tab-size: 8; 21 -webkit-hyphens: none; 22 -moz-hyphens: none; 23 -ms-hyphens: none; 24 hyphens: none; 25 } 26 27 /* Code blocks */ 28 pre[class*='smartperf-'] { 29 padding: 0.9em; 30 overflow: auto; 31 border-radius: 2px; 32 background: #f5f5f4; 33 } 34 35 /* Inline code */ 36 :not(pre) > code[class*='smartperf-'] { 37 white-space: normal; 38 background: #fcf8f8; 39 padding: 1px 0.2em; 40 border-radius: 1px 0.3em; 41 } 42 43 .tk.comment, 44 .tk.blockquote { 45 color: #8c918c; 46 } 47 48 .tk.cdata { 49 color: #183898; 50 } 51 52 .tk.doctype, 53 .tk.punctuation, 54 .tk.variable, 55 .tk.macro.property { 56 color: #424242; 57 } 58 59 .tk.operator, 60 .tk.important, 61 .tk.keyword, 62 .tk.rule, 63 .tk.builtin { 64 color: #b71d65; 65 } 66 67 .tk.string, 68 .tk.url, 69 .tk.regex, 70 .tk.attr-value { 71 color: #16338d; 72 } 73 74 .tk.property, 75 .tk.number, 76 .tk.boolean, 77 .tk.entity, 78 .tk.atrule, 79 .tk.constant, 80 .tk.symbol, 81 .tk.command, 82 .tk.code { 83 color: #037aa2; 84 } 85 86 .tk.tag, 87 .tk.selector, 88 .tk.prolog { 89 color: #69ad62; 90 } 91 92 .tk.function, 93 .tk.namespace, 94 .tk.pseudo-element, 95 .tk.class, 96 .tk.class-name, 97 .tk.pseudo-class, 98 .tk.id, 99 .tk.url-reference .tk.variable, 100 .tk.attr-name { 101 color: #775d9d; 102 } 103 104 .tk.entity { 105 cursor: help; 106 } 107 108 .tk.title, 109 .tk.title .tk.punctuation { 110 font-weight: bold; 111 color: #1a3773; 112 } 113 114 .tk.list { 115 color: #f56940; 116 } 117 118 .tk.inserted { 119 background-color: #eaffea; 120 color: #509b2f; 121 } 122 123 .tk.deleted { 124 background-color: #fae1e1; 125 color: #ad2d06; 126 } 127 128 .tk.bold { 129 font-weight: bolder; 130 } 131 132 .tk.italic { 133 font-style: normal; 134 } 135 136 /* JSON */ 137 .smartperf-json .tk.property { 138 color: #19358c; 139 } 140 141 .smartperf-markup .tk.tag .tk.punctuation { 142 color: #2c2b2b; 143 } 144 145 /* CSS */ 146 code.smartperf-css, 147 .smartperf-css .tk.function { 148 color: #047ca4; 149 } 150 151 /* YAML */ 152 .smartperf-yaml .tk.atrule { 153 color: #609b5a; 154 } 155 156 code.smartperf-yaml { 157 color: #153491; 158 } 159 160 /* Ruby */ 161 .smartperf-ruby .tk.function { 162 color: #3f3e3e; 163 } 164 165 /* Markdown */ 166 .smartperf-markdown .tk.url { 167 color: #6e5298; 168 } 169 170 /* Makefile */ 171 .smartperf-makefile .tk.symbol { 172 color: #6c5393; 173 } 174 175 .smartperf-makefile .tk.variable { 176 color: #183488; 177 } 178 179 .smartperf-makefile .tk.builtin { 180 color: #027ba4; 181 } 182 183 /* Bash */ 184 .smartperf-bash .tk.keyword { 185 color: #027fa9; 186 } 187 188 /* highlight */ 189 pre[dl] { 190 position: relative; 191 padding: 1em 1px 1px 0.9em; 192 } 193 194 pre[dl] .line-highlight-wrapper { 195 position: absolute; 196 top: 1px; 197 left: 1px; 198 background-color: transparent; 199 display: block; 200 width: 99%; 201 } 202 203 pre[dl] .line-highlight { 204 position: absolute; 205 left: 1px; 206 right: 1px; 207 padding: inherit; 208 margin-top: 0.9em; 209 background: hsla(25, 21%, 50%, 0.08); 210 background: linear-gradient(to right, hsla(24, 20%, 50%, 0.1) 70%, hsla(24, 20%, 50%, 0)); 211 pointer-events: none; 212 line-height: inherit; 213 white-space: pre; 214 } 215 216 pre[dl] .line-highlight:before, 217 pre[dl] .line-highlight[data-end]:after { 218 content: attr(data-start); 219 position: absolute; 220 text-shadow: none; 221 top: 0.3em; 222 left: 0.7em; 223 min-width: 0.9em; 224 padding: 1px 0.6em; 225 background-color: hsla(24, 20%, 47%, 0.4); 226 color: hsl(20, 11%, 95%); 227 text-align: center; 228 vertical-align: 0.2em; 229 border-radius: 10000px; 230 box-shadow: 1px 2px #fdf6f6; 231 } 232 233 pre[dl] .line-highlight[data-end]:after { 234 content: attr(data-end); 235 top: auto; 236 bottom: 0.5em; 237 } 238 239 html body { 240 line-height: 1.6; 241 font-size: 16px; 242 color: #333333; 243 overflow: initial; 244 word-wrap: break-word; 245 font-family: Helvetica; 246 box-sizing: border-box; 247 } 248 249 html body > :first-child { 250 margin-top: 0px; 251 } 252 253 html body h1, 254 html body h2, 255 html body h3, 256 html body h4, 257 html body h5, 258 html body h6 { 259 margin-top: 1em; 260 margin-bottom: 16px; 261 color: #000000; 262 line-height: 1.2; 263 } 264 265 html body h1 { 266 font-weight: 300; 267 font-size: 2.25em; 268 padding-bottom: 0.3em; 269 } 270 271 html body h2 { 272 font-weight: 410; 273 font-size: 1.74em; 274 padding-bottom: 0.2em; 275 } 276 277 html body h3 { 278 font-size: 1.6em; 279 font-weight: 501; 280 } 281 282 html body h4 { 283 font-size: 1.26em; 284 font-weight: 601; 285 } 286 287 html body h5 { 288 font-size: 1.2em; 289 font-weight: 601; 290 } 291 292 html body h6 { 293 font-size: 0.9em; 294 font-weight: 601; 295 } 296 297 html body h1, 298 html body h2, 299 html body h3, 300 html body h4, 301 html body h5 { 302 font-weight: 601; 303 } 304 305 html body h5 { 306 font-size: 0.9em; 307 } 308 309 html body h6 { 310 color: #5c5c5c; 311 } 312 313 html body strong { 314 color: #090909; 315 } 316 317 html body del { 318 color: #525252; 319 } 320 321 html body a:not([href]) { 322 color: inherit; 323 text-decoration: none; 324 } 325 326 html body a { 327 color: #0192da; 328 text-decoration: none; 329 } 330 331 html body a:hover { 332 color: #029dea; 333 text-decoration: none; 334 } 335 336 html body img { 337 max-width: 99%; 338 } 339 340 html body > p { 341 margin-top: 1px; 342 margin-bottom: 15px; 343 word-wrap: break-word; 344 } 345 346 html body > ul, 347 html body > ol { 348 margin-bottom: 15px; 349 } 350 351 html body ul, 352 html body ol { 353 padding-left: 1.9em; 354 } 355 356 html body ul.no-list, 357 html body ol.no-list { 358 padding: 0px; 359 list-style-type: none; 360 } 361 362 html body ul ul, 363 html body ul ol, 364 html body ol ol, 365 html body ol ul { 366 margin-top: 1px; 367 margin-bottom: 1px; 368 } 369 370 html body li { 371 margin-bottom: 1px; 372 } 373 374 html body li.task-list-item { 375 list-style: none; 376 } 377 378 html body li > p { 379 margin-top: 1px; 380 margin-bottom: 1px; 381 } 382 383 html body .task-list-item-checkbox { 384 margin: 0 0.3em 0.24em -1.7em; 385 vertical-align: middle; 386 } 387 388 html body .task-list-item-checkbox:hover { 389 cursor: pointer; 390 } 391 392 html body blockquote { 393 padding: 0.1px 15px 0 0.1px; 394 font-size: inherit; 395 color: #5c5c5c; 396 margin: 16px 0.1px 0 0.1px; 397 border-left: 3px solid #cbc9c9; 398 background-color: #e8e6e6; 399 } 400 401 html body blockquote > :first-child { 402 margin-top: 0.2px; 403 } 404 405 html body blockquote > :last-child { 406 margin-bottom: 0.1px; 407 } 408 409 html body hr { 410 height: 5px; 411 background-color: #cbcaca; 412 margin: 32px 0 0.1px 0; 413 border: 0 none; 414 } 415 416 html body table { 417 overflow: auto; 418 border-collapse: collapse; 419 margin: 15px 0.1px 20px 0.1px; 420 border-spacing: 0; 421 } 422 423 html body table th { 424 font-weight: bold; 425 color: #000000; 426 } 427 428 html body table td, 429 html body table th { 430 border: 1px solid #d6d6d6; 431 padding: 2px 14px; 432 } 433 434 html body dl { 435 padding: 0px; 436 } 437 438 html body dl dt { 439 padding: 0px; 440 margin-top: 15px; 441 font-size: 0.9em; 442 font-style: italic; 443 font-weight: bold; 444 } 445 446 html body dl dd { 447 padding: 0px 17px; 448 margin-bottom: 17px; 449 } 450 451 html body code { 452 font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; 453 font-size: 0.86em !important; 454 color: #000000; 455 background-color: #f0f0f0; 456 border-radius: 4px; 457 padding: 0.3em 0px; 458 } 459 460 html body code::before, 461 html body code::after { 462 letter-spacing: -0.1em; 463 content: '\00a0'; 464 } 465 466 html body pre > code { 467 padding: 1px; 468 margin: 0px; 469 font-size: 0.86em !important; 470 word-break: normal; 471 white-space: pre; 472 background: transparent; 473 border: 0px; 474 } 475 476 html body .highlight { 477 margin-bottom: 17px; 478 } 479 480 html body .highlight pre, 481 html body pre { 482 padding: 0.9em; 483 overflow: auto; 484 font-size: 0.86em !important; 485 line-height: 1.46; 486 border: #d6d6d6; 487 border-radius: 4px; 488 } 489 490 html body .highlight pre { 491 margin-bottom: 0px; 492 word-break: normal; 493 } 494 495 html body pre code, 496 html body pre tt { 497 display: inline; 498 max-width: initial; 499 padding: 1px; 500 margin: 1px; 501 overflow: initial; 502 line-height: inherit; 503 word-wrap: normal; 504 background-color: transparent; 505 border: 1px; 506 } 507 508 html body pre code:before, 509 html body pre tt:before, 510 html body pre code:after, 511 html body pre tt:after { 512 content: normal; 513 } 514 515 html body p, 516 html body blockquote, 517 html body ul, 518 html body ol, 519 html body dl, 520 html body pre { 521 margin-top: 1px; 522 margin-bottom: 17px; 523 } 524 525 html body kbd { 526 color: #000000; 527 border: 3px solid #d6d6d6; 528 border-bottom: 3px solid #c7c7c7; 529 padding: 3px 5px; 530 background-color: #f0f0f0; 531 border-radius: 2px; 532 } 533 534 @media print { 535 html body { 536 background-color: #ffffff; 537 } 538 539 html body h1, 540 html body h2, 541 html body h3, 542 html body h4, 543 html body h5, 544 html body h6 { 545 color: #000000; 546 page-break-after: avoid; 547 } 548 549 html body blockquote { 550 color: #5c5c53; 551 } 552 553 html body pre { 554 page-break-inside: avoid; 555 } 556 557 html body table { 558 display: table; 559 } 560 561 html body img { 562 display: block; 563 max-width: 99%; 564 max-height: 99%; 565 } 566 567 html body pre, 568 html body code { 569 word-wrap: break-word; 570 white-space: pre; 571 } 572 } 573 574 .smartperf-preview { 575 width: 68vw; 576 height: 99%; 577 box-sizing: border-box; 578 overflow: hidden; 579 background-color: #fff; 580 } 581 582 .smartperf-preview .pagebreak, 583 .smartperf-preview .newpage { 584 page-break-before: always; 585 } 586 587 .smartperf-preview pre.line-numbers { 588 position: relative; 589 padding-left: 3.7em; 590 counter-reset: linenumber; 591 } 592 593 .smartperf-preview pre.line-numbers > code { 594 position: relative; 595 } 596 597 .smartperf-preview pre.line-numbers .line-numbers-rows { 598 position: absolute; 599 pointer-events: none; 600 top: 0.9em; 601 font-size: 99%; 602 left: 1px; 603 width: 3em; 604 letter-spacing: -1px; 605 border-right: 1px solid #999; 606 -webkit-user-select: none; 607 -moz-user-select: none; 608 -ms-user-select: none; 609 user-select: none; 610 } 611 612 .smartperf-preview pre.line-numbers .line-numbers-rows > span { 613 pointer-events: none; 614 display: block; 615 counter-increment: linenumber; 616 } 617 618 .smartperf-preview pre.line-numbers .line-numbers-rows > span:before { 619 content: counter(linenumber); 620 color: #999; 621 display: block; 622 padding-right: 0.79em; 623 text-align: right; 624 } 625 626 .smartperf-preview .mathjax-exps .MathJax_Display { 627 text-align: center !important; 628 } 629 630 .smartperf-preview:not([for='preview']) .code-chunk .btn-group { 631 display: none; 632 } 633 634 .smartperf-preview:not([for='preview']) .code-chunk .status { 635 display: none; 636 } 637 638 .smartperf-preview:not([for='preview']) .code-chunk .output-div { 639 margin-bottom: 16px; 640 } 641 642 .scrollbar-style::-webkit-scrollbar { 643 width: 8px; 644 } 645 646 .scrollbar-style::-webkit-scrollbar-track { 647 border-radius: 9px; 648 background-color: transparent; 649 } 650 651 .scrollbar-style::-webkit-scrollbar-thumb { 652 border-radius: 6px; 653 background-color: rgba(150, 150, 150, 1); 654 border: 4px solid rgba(150, 150, 150, 1); 655 background-clip: content-box; 656 } 657 658 html body[for='html-export']:not([dpm]) { 659 position: relative; 660 width: 99%; 661 height: 99%;; 662 overflow: auto; 663 } 664 665 html body[for='html-export']:not([dpm]) .smartperf-preview { 666 position: relative; 667 top: 1px; 668 } 669 670 @media screen and (min-width: 914px) { 671 html body[for='html-export']:not([dpm]) .smartperf-preview { 672 padding: 2em; 673 } 674 } 675 676 @media screen and (max-width: 914px) { 677 html body[for='html-export']:not([dpm]) .smartperf-preview { 678 padding: 1.9em; 679 } 680 } 681 682 @media screen and (max-width: 450px) { 683 html body[for='html-export']:not([dpm]) .smartperf-preview { 684 font-size: 15px !important; 685 padding: 1.1em; 686 } 687 } 688 689 @media print { 690 html body[for='html-export']:not([dpm]) #sidebar-toc-btn { 691 display: none; 692 } 693 } 694 695 html body[for='html-export']:not([dpm]) #sidebar-toc-btn { 696 position: fixed; 697 bottom: 9px; 698 left: 9px; 699 font-size: 28px; 700 cursor: pointer; 701 color: inherit; 702 z-index: 99; 703 width: 31px; 704 text-align: center; 705 opacity: 0.5; 706 } 707 708 html body[for='html-export']:not([dpm])[hsst] #sidebar-toc-btn { 709 opacity: 1; 710 } 711 712 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc { 713 position: fixed; 714 top: 1px; 715 left: 1px; 716 width: 300px; 717 height: 99%; 718 padding: 32px 0 48px 0; 719 font-size: 14px; 720 box-shadow: 1px 1px 4px rgba(150, 150, 150, 0.33); 721 box-sizing: border-box; 722 overflow: auto; 723 background-color: inherit; 724 } 725 726 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc::-webkit-scrollbar { 727 width: 9px; 728 } 729 730 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc::-webkit-scrollbar-track { 731 border-radius: 11px; 732 background-color: transparent; 733 } 734 735 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc::-webkit-scrollbar-thumb { 736 border-radius: 6px; 737 background-color: rgba(150, 150, 150, 0.66); 738 border: 3px solid rgba(150, 150, 150, 0.66); 739 background-clip: content-box; 740 } 741 742 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc a { 743 text-decoration: none; 744 } 745 746 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc ul { 747 padding: 1px 1.7em; 748 margin-top: 0.9em; 749 } 750 751 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc li { 752 margin-bottom: 0.8em; 753 } 754 755 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc ul { 756 list-style-type: none; 757 } 758 759 html body[for='html-export']:not([dpm])[hsst] .smartperf-preview { 760 left: 301px; 761 width: calc(100% - 300px); 762 padding: 2em calc(50% - 457px - 150px); 763 margin: 1px; 764 box-sizing: border-box; 765 } 766 767 @media screen and (max-width: 1274px) { 768 html body[for='html-export']:not([dpm])[hsst] .smartperf-preview { 769 padding: 1.9em; 770 } 771 } 772 773 @media screen and (max-width: 450px) { 774 html body[for='html-export']:not([dpm])[hsst] .smartperf-preview { 775 width: 99%; 776 } 777 } 778 779 html body[for='html-export']:not([dpm]):not([hsst]) .md-sidebar-toc { 780 display: none; 781 } 782 </style> 783 </head> 784 <body for="html-export" id="body" style="margin:0"> 785 <div class="smartperf smartperf-preview" style="min-height: 99vh;"> 786 <h1 class="mume-header fontColor">系统内存抓取和展示说明</h1> 787 788 <p class="fontColor">系统内存分析模板帮助系统内存调优人员进行进程内存拆解。</p> 789 <h2 class="mume-header fontColor">系统内存的抓取</h2> 790 791 <h4 class="mume-header fontColor" id="header-index-1">系统内存的抓取配置参数</h4> 792 793 <p class="fontColor"> 794 打开VM Tracker开关抓取内存数据。 795 <br /> 796 <img src="../figures/Allmemory/allmemorycofig.jpg" alt="GitHub Logo" /> 797 </p> 798 <h3 class="mume-header fontColor" id="header-index-2">系统内存展示说明</h3> 799 800 <p class="fontColor"> 801 将抓取的内存文件导入到smartperf中,查看进程内存的情况。 802 <br /> 803 <img src="../figures/Allmemory/allmemoryrow.jpg" alt="GitHub Logo" /> 804 </p> 805 <h3 class="mume-header fontColor" id="header-index-3">系统内存中Ability Monitor泳道图显示</h3> 806 807 <p class="fontColor"> 808 Ability Monitor泳道图分为MemoryTotal,Cached,SwapTotal,System Purgeable Total,System Purgeable Pin,DMA,Skia 809 Gpu Memory泳道。 810 <br /> 811 <img src="../figures/Allmemory/abrow.jpg" alt="GitHub Logo" /> 812 </p> 813 <h3 class="mume-header fontColor" id="header-index-4">系统内存中Ability Monitor泳道图点选功能</h3> 814 815 <p class="fontColor"> 816 System Purgeable Total泳道图点选功能。 817 <br /> 818 <img src="../figures/Allmemory/purtotalselect.jpg" alt="GitHub Logo" /> 819 </p> 820 <ul class="fontColor"> 821 <li> 822 <pre class="smartperf-text fontColor light"> 823TimeStamp:时间戳。 824</pre 825 > 826 </li> 827 <li> 828 <pre class="smartperf-text fontColor light"> 829ActivePurg:当前时间点的ActivePurg内存。 830</pre 831 > 832 </li> 833 <li> 834 <pre class="smartperf-text fontColor light"> 835InActivePurg:当前时间点的InActivePurg内存。 836</pre 837 > 838 </li> 839 <li> 840 <pre class="smartperf-text fontColor light"> 841ShmPurg:当前时间点的ShmPurg内存。 842</pre 843 > 844 </li> 845 </ul> 846 <p class="fontColor"> 847 System Purgeable Total泳道图框选功能。 848 <br /> 849 <img src="../figures/Allmemory/purtotaldrag.jpg" alt="GitHub Logo" /> 850 </p> 851 <ul class="fontColor"> 852 <li> 853 <pre class="smartperf-text fontColor light"> 854Type:内存的类别。 855</pre 856 > 857 </li> 858 <li> 859 <pre class="smartperf-text fontColor light"> 860AvgSize:当前内存的平均值。 861</pre 862 > 863 </li> 864 <li> 865 <pre class="smartperf-text fontColor light"> 866MaxSize:当前内存的最大值。 867</pre 868 > 869 </li> 870 <li> 871 <pre class="smartperf-text fontColor light"> 872MinSize:当前内存的最小值。 873</pre 874 > 875 </li> 876 </ul> 877 <p class="fontColor"> 878 System Purgeable Pin泳道图点选功能。 879 <br /> 880 <img src="../figures/Allmemory/purpinselect.jpg" alt="GitHub Logo" /> 881 </p> 882 <ul class="fontColor"> 883 <li> 884 <pre class="smartperf-text fontColor light"> 885TimeStamp:时间戳。 886</pre 887 > 888 </li> 889 <li> 890 <pre class="smartperf-text fontColor light"> 891PinedPurg:当前时间点的PinedPurg内存。 892</pre 893 > 894 </li> 895 <li> 896 <pre class="smartperf-text fontColor light"> 897ShmPurg:当前时间点的ShmPurg内存。 898</pre 899 > 900 </li> 901 </ul> 902 <p class="fontColor"> 903 System Purgeable Pin泳道图框选功能。 904 <br /> 905 <img src="../figures/Allmemory/purpindrag.jpg" alt="GitHub Logo" /> 906 </p> 907 <ul class="fontColor"> 908 <li> 909 <pre class="smartperf-text fontColor light"> 910Type:内存的类别。 911</pre 912 > 913 </li> 914 <li> 915 <pre class="smartperf-text fontColor light"> 916AvgSize:当前内存的平均值。 917</pre 918 > 919 </li> 920 <li> 921 <pre class="smartperf-text fontColor light"> 922MaxSize:当前内存的最大值。 923</pre 924 > 925 </li> 926 <li> 927 <pre class="smartperf-text fontColor light"> 928MinSize:当前内存的最小值。 929</pre 930 > 931 </li> 932 </ul> 933 <p class="fontColor"> 934 DMA泳道图点选功能。 935 <br /> 936 <img src="../figures/Allmemory/dmaselect.jpg" alt="GitHub Logo" /> 937 </p> 938 <ul class="fontColor"> 939 <li> 940 <pre class="smartperf-text fontColor light"> 941TimeStamp:时间戳。 942</pre 943 > 944 </li> 945 <li> 946 <pre class="smartperf-text fontColor light"> 947Process(pid):进程名(进程ID)。 948</pre 949 > 950 </li> 951 <li> 952 <pre class="smartperf-text fontColor light"> 953Fd:DMA内存文件描述符。 954</pre 955 > 956 </li> 957 <li> 958 <pre class="smartperf-text fontColor light"> 959Size:DMA内存大小。 960</pre 961 > 962 </li> 963 <li> 964 <pre class="smartperf-text fontColor light"> 965Ino:Ino值。 966</pre 967 > 968 </li> 969 <li> 970 <pre class="smartperf-text fontColor light"> 971ExpPid:申请者的进程号。 972</pre 973 > 974 </li> 975 <li> 976 <pre class="smartperf-text fontColor light"> 977ExpTaskComm:ExpTaskComm的值。 978</pre 979 > 980 </li> 981 <li> 982 <pre class="smartperf-text fontColor light"> 983BufName:DMA内存名。 984</pre 985 > 986 </li> 987 <li> 988 <pre class="smartperf-text fontColor light"> 989ExpName:申请者的进程名。 990</pre 991 > 992 </li> 993 <li> 994 <pre class="smartperf-text fontColor light"> 995Flag:去重标记,0表示正常,1表示进程内部重复数据,2表示进程间重复数据。 996</pre 997 > 998 </li> 999 </ul> 1000 <p class="fontColor"> 1001 DMA泳道图框选功能。 1002 <br /> 1003 <img src="../figures/Allmemory/dmadrag.jpg" alt="GitHub Logo" /> 1004 </p> 1005 <ul class="fontColor"> 1006 <li> 1007 <pre class="smartperf-text fontColor light"> 1008Process(pid):进程名(进程ID)。 1009</pre 1010 > 1011 </li> 1012 <li> 1013 <pre class="smartperf-text fontColor light"> 1014SumSize:DMA内存总量。 1015</pre 1016 > 1017 </li> 1018 <li> 1019 <pre class="smartperf-text fontColor light"> 1020AvgSize:DMA内存的平均值。 1021</pre 1022 > 1023 </li> 1024 <li> 1025 <pre class="smartperf-text fontColor light"> 1026MaxSize:DMA内存的最大值。 1027</pre 1028 > 1029 </li> 1030 <li> 1031 <pre class="smartperf-text fontColor light"> 1032MinSize:DMA内存的最小值。 1033</pre 1034 > 1035 </li> 1036 </ul> 1037 <p class="fontColor"> 1038 Skia Gpu Memory泳道图点选功能。 1039 <br /> 1040 <img src="../figures/Allmemory/sgpumemselect.jpg" alt="GitHub Logo" /> 1041 </p> 1042 <ul class="fontColor"> 1043 <li> 1044 <pre class="smartperf-text fontColor light"> 1045TimeStamp:时间戳。 1046</pre 1047 > 1048 </li> 1049 <li> 1050 <pre class="smartperf-text fontColor light"> 1051GpuName:Gpu名称。 1052</pre 1053 > 1054 </li> 1055 <li> 1056 <pre class="smartperf-text fontColor light"> 1057Process(pid):进程名(进程ID)。。 1058</pre 1059 > 1060 </li> 1061 <li> 1062 <pre class="smartperf-text fontColor light"> 1063Size:对应进程的Gpu的使用size。 1064</pre 1065 > 1066 </li> 1067 </ul> 1068 <p class="fontColor"> 1069 Skia Gpu Memory泳道图框选功能。 1070 <br /> 1071 <img src="../figures/Allmemory/sgpumemdrag.jpg" alt="GitHub Logo" /> 1072 </p> 1073 <ul class="fontColor"> 1074 <li> 1075 <pre class="smartperf-text fontColor light"> 1076GpuName:Gpu名称。 1077</pre 1078 > 1079 </li> 1080 <li> 1081 <pre class="smartperf-text fontColor light"> 1082Process(pid):进程名(进程ID)。 1083</pre 1084 > 1085 </li> 1086 <li> 1087 <pre class="smartperf-text fontColor light"> 1088SumSize:Gpu内存总量。 1089</pre 1090 > 1091 </li> 1092 <li> 1093 <pre class="smartperf-text fontColor light"> 1094AvgSize:Gpu内存的平均值。 1095</pre 1096 > 1097 </li> 1098 <li> 1099 <pre class="smartperf-text fontColor light"> 1100MaxSize:Gpu内存的最大值。 1101</pre 1102 > 1103 </li> 1104 <li> 1105 <pre class="smartperf-text fontColor light"> 1106MinSize:Gpu内存的最小值。 1107</pre 1108 > 1109 </li> 1110 </ul> 1111 <h3 class="mume-header fontColor" id="header-index-5">VM Tracker下的smaps泳道图展示</h3> 1112 1113 <p class="fontColor"> 1114 smaps泳道图分为Dirty,Swapped,RSS,PSS,USS泳道图。 1115 <br /> 1116 <img src="../figures/Allmemory/smapsallrow.jpg" alt="GitHub Logo" /> 1117 </p> 1118 <h3 class="mume-header fontColor" id="header-index-6">VM Tracker下的smaps泳道图的点选和框选功能</h3> 1119 1120 <p class="fontColor"> 1121 点选Dirty,Swapped,RSS,PSS,USS的5个泳道图中任一个显示的都是一样的内容,会显示Smaps Statistic,Smaps 1122 sample,Smaps Comparison,Native Heap的tab页。 1123 <br /> 1124 Smaps Statistic的tab页展示。 1125 <br /> 1126 <img src="../figures/Allmemory/sstaaticstab.jpg" alt="GitHub Logo" /> 1127 </p> 1128 <ul class="fontColor"> 1129 <li> 1130 <pre class="smartperf-text fontColor light"> 1131Type: 将抓取到的信息根据Type归类。 1132</pre 1133 > 1134 </li> 1135 <li> 1136 <pre class="smartperf-text fontColor light"> 1137Path:虚拟内存块路径,类型中有多个则显示multiple。 1138</pre 1139 > 1140 </li> 1141 <li> 1142 <pre class="smartperf-text fontColor light"> 1143Size:在该虚拟内存块路径下内存的size总和。 1144</pre 1145 > 1146 </li> 1147 <li> 1148 <pre class="smartperf-text fontColor light"> 1149% of Res: 每行的Resident Size 占总Ressident Size的比例。 1150</pre 1151 > 1152 </li> 1153 <li> 1154 <pre class="smartperf-text fontColor light"> 1155Count:统计的类型个数。 1156</pre 1157 > 1158 </li> 1159 <li> 1160 <pre class="smartperf-text fontColor light"> 1161Rss: smaps节点中Rss。 1162</pre 1163 > 1164 </li> 1165 <li> 1166 <pre class="smartperf-text fontColor light"> 1167Pss: smaps节点中Pss。 1168</pre 1169 > 1170 </li> 1171 <li> 1172 <pre class="smartperf-text fontColor light"> 1173SharedClean: smaps节点中SharedClean。 1174</pre 1175 > 1176 </li> 1177 <li> 1178 <pre class="smartperf-text fontColor light"> 1179SharedDirty:smaps节点中Shared_Dirty。 1180</pre 1181 > 1182 </li> 1183 <li> 1184 <pre class="smartperf-text fontColor light"> 1185PrivateClean: smaps节点中PrivateClean。 1186</pre 1187 > 1188 </li> 1189 <li> 1190 <pre class="smartperf-text fontColor light"> 1191PrivateDirty:smaps节点中PrivateDirty。 1192</pre 1193 > 1194 </li> 1195 <li> 1196 <pre class="smartperf-text fontColor light"> 1197Swap:smaps节点中Swap。 1198</pre 1199 > 1200 </li> 1201 <li> 1202 <pre class="smartperf-text fontColor light"> 1203SwapPss:smaps节点中SwapPss。 1204</pre 1205 > 1206 </li> 1207 </ul> 1208 <p class="fontColor"> 1209 Smaps sample的tab页展示。 1210 <br /> 1211 <img src="../figures/Allmemory/ssampletab.jpg" alt="GitHub Logo" /> 1212 </p> 1213 <ul class="fontColor"> 1214 <li> 1215 <pre class="smartperf-text fontColor light"> 1216TimeStamp: 时间戳信息。 1217</pre 1218 > 1219 </li> 1220 <li> 1221 <pre class="smartperf-text fontColor light"> 1222Type: 将抓取到的信息根据Type归类。 1223</pre 1224 > 1225 </li> 1226 <li> 1227 <pre class="smartperf-text fontColor light"> 1228Path:虚拟内存块路径,类型中有多个则显示multiple。 1229</pre 1230 > 1231 </li> 1232 <li> 1233 <pre class="smartperf-text fontColor light"> 1234Address Range:每段虚拟内存段的开始和结束位置。 1235</pre 1236 > 1237 </li> 1238 <li> 1239 <pre class="smartperf-text fontColor light"> 1240Rss: smaps节点中Rss。 1241</pre 1242 > 1243 </li> 1244 <li> 1245 <pre class="smartperf-text fontColor light"> 1246Pss: smaps节点中Pss。 1247</pre 1248 > 1249 </li> 1250 <li> 1251 <pre class="smartperf-text fontColor light"> 1252SharedClean: smaps节点中SharedClean。 1253</pre 1254 > 1255 </li> 1256 <li> 1257 <pre class="smartperf-text fontColor light"> 1258SharedDirty:smaps节点中Shared_Dirty。 1259</pre 1260 > 1261 </li> 1262 <li> 1263 <pre class="smartperf-text fontColor light"> 1264PrivateClean: smaps节点中PrivateClean。 1265</pre 1266 > 1267 </li> 1268 <li> 1269 <pre class="smartperf-text fontColor light"> 1270PrivateDirty:smaps节点中PrivateDirty。 1271</pre 1272 > 1273 </li> 1274 <li> 1275 <pre class="smartperf-text fontColor light"> 1276Swap:smaps节点中Swap。 1277</pre 1278 > 1279 </li> 1280 <li> 1281 <pre class="smartperf-text fontColor light"> 1282SwapPss:smaps节点中SwapPss。 1283</pre 1284 > 1285 </li> 1286 <li> 1287 <pre class="smartperf-text fontColor light"> 1288Reside: Rss / Size 比值。 1289</pre 1290 > 1291 </li> 1292 <li> 1293 <pre class="smartperf-text fontColor light"> 1294Protection: 内存块的权限(读写执行)。 1295</pre 1296 > 1297 </li> 1298 </ul> 1299 <p class="fontColor"> 1300 Native Heap的tab页展示。 1301 <br /> 1302 <img src="../figures/Allmemory/snativeheaptab.jpg" alt="GitHub Logo" /> 1303 </p> 1304 <ul class="fontColor"> 1305 <li> 1306 <pre class="smartperf-text fontColor light"> 1307TimeStamp: 时间戳信息。 1308</pre 1309 > 1310 </li> 1311 <li> 1312 <pre class="smartperf-text fontColor light"> 1313Total: 该时间点Smaps中type为NATIVE_HEAP的Size。 1314</pre 1315 > 1316 </li> 1317 <li> 1318 <pre class="smartperf-text fontColor light"> 1319RenderServiceCpu:渲染框架数据,计算规则为该时间点上memroy_rs_image表中type!="pixelmap"的所有项累加Size。 1320</pre 1321 > 1322 </li> 1323 <li> 1324 <pre class="smartperf-text fontColor light"> 1325SkiaCpu:渲染框架数据,取该时间点memory_cpu表中total_size的值。 1326</pre 1327 > 1328 </li> 1329 <li> 1330 <pre class="smartperf-text fontColor light"> 1331GLESHostCache: GLES-CPU缓存,取该时间点memory_profile表中total_size之和。 1332</pre 1333 > 1334 </li> 1335 <li> 1336 <pre class="smartperf-text fontColor light"> 1337ProcessCache: Total-RenderServiceCpu-SkiaCpu-GLESHostCache的值。 1338</pre 1339 > 1340 </li> 1341 </ul> 1342 <p class="fontColor"> 1343 框选Dirty,Swapped,RSS,PSS,USS的5个泳道图中任一个显示的都是一样的内容,会显示Smaps Statistic和Smaps 1344 sample的tab页。 1345 <br /> 1346 Smaps Statistic的tab页和Smaps sample的tab页展示(同点选)。 1347 <br /> 1348 </p> 1349 <h3 class="mume-header fontColor" id="header-index-7">VM Tracker下的GPU泳道图展示</h3> 1350 1351 <p class="fontColor"> 1352 GPU泳道图分为GL,Skia Gpu Dump Toal,Skia Gpu Dump Window,Skia Gpu Memory泳道图。 1353 <br /> 1354 <img src="../figures/Allmemory/gpurow.jpg" alt="GitHub Logo" /> 1355 <br /> 1356 Skia Gpu Memory泳道图点选功能。 1357 <br /> 1358 <img src="../figures/Allmemory/vgpumemselect.jpg" alt="GitHub Logo" /> 1359 </p> 1360 <ul class="fontColor"> 1361 <li> 1362 <pre class="smartperf-text fontColor light"> 1363TimeStamp:时间戳。 1364</pre 1365 > 1366 </li> 1367 <li> 1368 <pre class="smartperf-text fontColor light"> 1369GpuName:Gpu名称。 1370</pre 1371 > 1372 </li> 1373 <li> 1374 <pre class="smartperf-text fontColor light"> 1375Thread(tid):线程名(线程ID)。 1376</pre 1377 > 1378 </li> 1379 <li> 1380 <pre class="smartperf-text fontColor light"> 1381Size:对应线程的Gpu的使用size。 1382</pre 1383 > 1384 </li> 1385 </ul> 1386 <p class="fontColor"> 1387 Skia Gpu Memory泳道图框选功能。 1388 <br /> 1389 <img src="../figures/Allmemory/vgpumemdrag.jpg" alt="GitHub Logo" /> 1390 </p> 1391 <ul class="fontColor"> 1392 <li> 1393 <pre class="smartperf-text fontColor light"> 1394GpuName:Gpu名称。 1395</pre 1396 > 1397 </li> 1398 <li> 1399 <pre class="smartperf-text fontColor light"> 1400Thread(tid):线程名(线程ID)。 1401</pre 1402 > 1403 </li> 1404 <li> 1405 <pre class="smartperf-text fontColor light"> 1406SumSize:Gpu内存总量。 1407</pre 1408 > 1409 </li> 1410 <li> 1411 <pre class="smartperf-text fontColor light"> 1412AvgSize:Gpu内存的平均值。 1413</pre 1414 > 1415 </li> 1416 <li> 1417 <pre class="smartperf-text fontColor light"> 1418MaxSize:Gpu内存的最大值。 1419</pre 1420 > 1421 </li> 1422 <li> 1423 <pre class="smartperf-text fontColor light"> 1424MinSize:Gpu内存的最小值。 1425</pre 1426 > 1427 </li> 1428 </ul> 1429 <p class="fontColor"> 1430 Gl泳道图框选功能。 1431 <br /> 1432 <img src="../figures/Allmemory/vglrag.jpg" alt="GitHub Logo" /> 1433 </p> 1434 <ul class="fontColor"> 1435 <li> 1436 <pre class="smartperf-text fontColor light"> 1437TimeStamp:时间戳。 1438</pre 1439 > 1440 </li> 1441 <li> 1442 <pre class="smartperf-text fontColor light"> 1443GL_PSS:GL_PSS的大小。 1444</pre 1445 > 1446 </li> 1447 </ul> 1448 <p class="fontColor"> 1449 Skia Gpu Dump Toal泳道图点选功能。 1450 <br /> 1451 <img src="../figures/Allmemory/vgputotalselect.jpg" alt="GitHub Logo" /> 1452 </p> 1453 <ul class="fontColor"> 1454 <li> 1455 <pre class="smartperf-text fontColor light"> 1456Module / Category:模块/目录。 1457</pre 1458 > 1459 </li> 1460 <li> 1461 <pre class="smartperf-text fontColor light"> 1462Size:按照模块/目录显示size大小。 1463</pre 1464 > 1465 </li> 1466 </ul> 1467 <p class="fontColor"> 1468 Skia Gpu Dump Toal泳道图框选功能。 1469 <br /> 1470 <img src="../figures/Allmemory/vgputotaldrag.jpg" alt="GitHub Logo" /> 1471 </p> 1472 <ul class="fontColor"> 1473 <li> 1474 <pre class="smartperf-text fontColor light"> 1475TimeStamp:时间戳。 1476</pre 1477 > 1478 </li> 1479 <li> 1480 <pre class="smartperf-text fontColor light"> 1481Module / Category:模块/目录。 1482</pre 1483 > 1484 </li> 1485 <li> 1486 <pre class="smartperf-text fontColor light"> 1487AvgSize:对应模块/目录下size的平均值。 1488</pre 1489 > 1490 </li> 1491 <li> 1492 <pre class="smartperf-text fontColor light"> 1493MaxSize:对应模块/目录下size的最大值。 1494</pre 1495 > 1496 </li> 1497 <li> 1498 <pre class="smartperf-text fontColor light"> 1499MinSize:对应模块/目录下size的最小值。 1500</pre 1501 > 1502 </li> 1503 </ul> 1504 <p class="fontColor"> 1505 Skia Gpu Dump Window泳道图点选功能。 1506 <br /> 1507 <img src="../figures/Allmemory/vgpuwindowselect.jpg" alt="GitHub Logo" /> 1508 </p> 1509 <ul class="fontColor"> 1510 <li> 1511 <pre class="smartperf-text fontColor light"> 1512Window / Module / Category:窗口/模块/目录。 1513</pre 1514 > 1515 </li> 1516 <li> 1517 <pre class="smartperf-text fontColor light"> 1518Size:按照窗口/模块/目录显示size大小。 1519</pre 1520 > 1521 </li> 1522 </ul> 1523 <p class="fontColor"> 1524 Skia Gpu Dump Window泳道图框选功能。 1525 <br /> 1526 <img src="../figures/Allmemory/vgpuwindowdrag.jpg" alt="GitHub Logo" /> 1527 </p> 1528 <ul class="fontColor"> 1529 <li> 1530 <pre class="smartperf-text fontColor light"> 1531TimeStamp:时间戳。 1532</pre 1533 > 1534 </li> 1535 <li> 1536 <pre class="smartperf-text fontColor light"> 1537Window / Module / Category:窗口/模块/目录。 1538</pre 1539 > 1540 </li> 1541 <li> 1542 <pre class="smartperf-text fontColor light"> 1543AvgSize:对应窗口/模块/目录下size的平均值。 1544</pre 1545 > 1546 </li> 1547 <li> 1548 <pre class="smartperf-text fontColor light"> 1549MaxSize:对应窗口/模块/目录下size的最大值。 1550</pre 1551 > 1552 </li> 1553 <li> 1554 <pre class="smartperf-text fontColor light"> 1555MinSize:对应窗口/模块/目录下size的最小值。 1556</pre 1557 > 1558 </li> 1559 </ul> 1560 </div> 1561 1562 <script> 1563 window.onload = () => { 1564 let isDark = getURLParameter('dark'); 1565 let targetId = getURLParameter('targetId'); 1566 let isBack = getURLParameter('isBack'); 1567 if (isDark === 'true') { 1568 document.getElementById('body').setAttribute('style', 'background-color:#272C34;'); 1569 let header = document.getElementsByClassName('fontColor'); 1570 for (let i = 0; i < header.length; i++) { 1571 header[i].style.color = '#fff'; 1572 } 1573 let lightBackGround = document.getElementsByClassName('light'); 1574 for (let i = 0; i < lightBackGround.length; i++) { 1575 lightBackGround[i].style.backgroundColor = '#32373F'; 1576 } 1577 } 1578 function getURLParameter(name) { 1579 return (new URL(document.location)).searchParams.get(name); 1580 } 1581 1582 if ( targetId !== null ) { 1583 let targetElement = document.getElementById(targetId); 1584 targetElement.scrollIntoView({ behavior: 'smooth' }); 1585 } 1586 }; 1587 </script> 1588 </body> 1589</html> 1590