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 background-color: #ffffff; 245 word-wrap: break-word; 246 font-family: Helvetica; 247 box-sizing: border-box; 248 } 249 250 html body > :first-child { 251 margin-top: 0px; 252 } 253 254 html body h1, 255 html body h2, 256 html body h3, 257 html body h4, 258 html body h5, 259 html body h6 { 260 margin-top: 1em; 261 margin-bottom: 16px; 262 color: #000000; 263 line-height: 1.2; 264 } 265 266 html body h1 { 267 font-weight: 300; 268 font-size: 2.25em; 269 padding-bottom: 0.3em; 270 } 271 272 html body h2 { 273 font-weight: 410; 274 font-size: 1.74em; 275 padding-bottom: 0.2em; 276 } 277 278 html body h3 { 279 font-size: 1.6em; 280 font-weight: 501; 281 } 282 283 html body h4 { 284 font-size: 1.26em; 285 font-weight: 601; 286 } 287 288 html body h5 { 289 font-size: 1.2em; 290 font-weight: 601; 291 } 292 293 html body h6 { 294 font-size: 0.9em; 295 font-weight: 601; 296 } 297 298 html body h1, 299 html body h2, 300 html body h3, 301 html body h4, 302 html body h5 { 303 font-weight: 601; 304 } 305 306 html body h5 { 307 font-size: 0.9em; 308 } 309 310 html body h6 { 311 color: #5c5c5c; 312 } 313 314 html body strong { 315 color: #090909; 316 } 317 318 html body del { 319 color: #525252; 320 } 321 322 html body a:not([href]) { 323 color: inherit; 324 text-decoration: none; 325 } 326 327 html body a { 328 color: #0192da; 329 text-decoration: none; 330 } 331 332 html body a:hover { 333 color: #029dea; 334 text-decoration: none; 335 } 336 337 html body img { 338 max-width: 99%; 339 } 340 341 html body > p { 342 margin-top: 1px; 343 margin-bottom: 15px; 344 word-wrap: break-word; 345 } 346 347 html body > ul, 348 html body > ol { 349 margin-bottom: 15px; 350 } 351 352 html body ul, 353 html body ol { 354 padding-left: 1.9em; 355 } 356 357 html body ul.no-list, 358 html body ol.no-list { 359 padding: 0px; 360 list-style-type: none; 361 } 362 363 html body ul ul, 364 html body ul ol, 365 html body ol ol, 366 html body ol ul { 367 margin-top: 1px; 368 margin-bottom: 1px; 369 } 370 371 html body li { 372 margin-bottom: 1px; 373 } 374 375 html body li.task-list-item { 376 list-style: none; 377 } 378 379 html body li > p { 380 margin-top: 1px; 381 margin-bottom: 1px; 382 } 383 384 html body .task-list-item-checkbox { 385 margin: 0 0.3em 0.24em -1.7em; 386 vertical-align: middle; 387 } 388 389 html body .task-list-item-checkbox:hover { 390 cursor: pointer; 391 } 392 393 html body blockquote { 394 padding: 0.1px 15px 0 0.1px; 395 font-size: inherit; 396 color: #5c5c5c; 397 margin: 16px 0.1px 0 0.1px; 398 border-left: 3px solid #cbc9c9; 399 background-color: #e8e6e6; 400 } 401 402 html body blockquote > :first-child { 403 margin-top: 0.2px; 404 } 405 406 html body blockquote > :last-child { 407 margin-bottom: 0.1px; 408 } 409 410 html body hr { 411 height: 5px; 412 background-color: #cbcaca; 413 margin: 32px 0 0.1px 0; 414 border: 0 none; 415 } 416 417 html body table { 418 overflow: auto; 419 border-collapse: collapse; 420 margin: 15px 0.1px 20px 0.1px; 421 border-spacing: 0; 422 } 423 424 html body table th { 425 font-weight: bold; 426 color: #000000; 427 } 428 429 html body table td, 430 html body table th { 431 border: 1px solid #d6d6d6; 432 padding: 2px 14px; 433 } 434 435 html body dl { 436 padding: 0px; 437 } 438 439 html body dl dt { 440 padding: 0px; 441 margin-top: 15px; 442 font-size: 0.9em; 443 font-style: italic; 444 font-weight: bold; 445 } 446 447 html body dl dd { 448 padding: 0px 17px; 449 margin-bottom: 17px; 450 } 451 452 html body code { 453 font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; 454 font-size: 0.86em !important; 455 color: #000000; 456 background-color: #f0f0f0; 457 border-radius: 4px; 458 padding: 0.3em 0px; 459 } 460 461 html body code::before, 462 html body code::after { 463 letter-spacing: -0.1em; 464 content: '\00a0'; 465 } 466 467 html body pre > code { 468 padding: 1px; 469 margin: 0px; 470 font-size: 0.86em !important; 471 word-break: normal; 472 white-space: pre; 473 background: transparent; 474 border: 0px; 475 } 476 477 html body .highlight { 478 margin-bottom: 17px; 479 } 480 481 html body .highlight pre, 482 html body pre { 483 padding: 0.9em; 484 overflow: auto; 485 font-size: 0.86em !important; 486 line-height: 1.46; 487 border: #d6d6d6; 488 border-radius: 4px; 489 } 490 491 html body .highlight pre { 492 margin-bottom: 0px; 493 word-break: normal; 494 } 495 496 html body pre code, 497 html body pre tt { 498 display: inline; 499 max-width: initial; 500 padding: 1px; 501 margin: 1px; 502 overflow: initial; 503 line-height: inherit; 504 word-wrap: normal; 505 background-color: transparent; 506 border: 1px; 507 } 508 509 html body pre code:before, 510 html body pre tt:before, 511 html body pre code:after, 512 html body pre tt:after { 513 content: normal; 514 } 515 516 html body p, 517 html body blockquote, 518 html body ul, 519 html body ol, 520 html body dl, 521 html body pre { 522 margin-top: 1px; 523 margin-bottom: 17px; 524 } 525 526 html body kbd { 527 color: #000000; 528 border: 3px solid #d6d6d6; 529 border-bottom: 3px solid #c7c7c7; 530 padding: 3px 5px; 531 background-color: #f0f0f0; 532 border-radius: 2px; 533 } 534 535 @media print { 536 html body { 537 background-color: #ffffff; 538 } 539 540 html body h1, 541 html body h2, 542 html body h3, 543 html body h4, 544 html body h5, 545 html body h6 { 546 color: #000000; 547 page-break-after: avoid; 548 } 549 550 html body blockquote { 551 color: #5c5c53; 552 } 553 554 html body pre { 555 page-break-inside: avoid; 556 } 557 558 html body table { 559 display: table; 560 } 561 562 html body img { 563 display: block; 564 max-width: 99%; 565 max-height: 99%; 566 } 567 568 html body pre, 569 html body code { 570 word-wrap: break-word; 571 white-space: pre; 572 } 573 } 574 575 .smartperf-preview { 576 width: 99%; 577 height: 99%; 578 box-sizing: border-box; 579 } 580 581 .smartperf-preview .pagebreak, 582 .smartperf-preview .newpage { 583 page-break-before: always; 584 } 585 586 .smartperf-preview pre.line-numbers { 587 position: relative; 588 padding-left: 3.7em; 589 counter-reset: linenumber; 590 } 591 592 .smartperf-preview pre.line-numbers > code { 593 position: relative; 594 } 595 596 .smartperf-preview pre.line-numbers .line-numbers-rows { 597 position: absolute; 598 pointer-events: none; 599 top: 0.9em; 600 font-size: 99%; 601 left: 1px; 602 width: 3em; 603 letter-spacing: -1px; 604 border-right: 1px solid #999; 605 -webkit-user-select: none; 606 -moz-user-select: none; 607 -ms-user-select: none; 608 user-select: none; 609 } 610 611 .smartperf-preview pre.line-numbers .line-numbers-rows > span { 612 pointer-events: none; 613 display: block; 614 counter-increment: linenumber; 615 } 616 617 .smartperf-preview pre.line-numbers .line-numbers-rows > span:before { 618 content: counter(linenumber); 619 color: #999; 620 display: block; 621 padding-right: 0.79em; 622 text-align: right; 623 } 624 625 .smartperf-preview .mathjax-exps .MathJax_Display { 626 text-align: center !important; 627 } 628 629 .smartperf-preview:not([for='preview']) .code-chunk .btn-group { 630 display: none; 631 } 632 633 .smartperf-preview:not([for='preview']) .code-chunk .status { 634 display: none; 635 } 636 637 .smartperf-preview:not([for='preview']) .code-chunk .output-div { 638 margin-bottom: 16px; 639 } 640 641 .scrollbar-style::-webkit-scrollbar { 642 width: 8px; 643 } 644 645 .scrollbar-style::-webkit-scrollbar-track { 646 border-radius: 9px; 647 background-color: transparent; 648 } 649 650 .scrollbar-style::-webkit-scrollbar-thumb { 651 border-radius: 6px; 652 background-color: rgba(150, 150, 150, 1); 653 border: 4px solid rgba(150, 150, 150, 1); 654 background-clip: content-box; 655 } 656 657 html body[for='html-export']:not([dpm]) { 658 position: relative; 659 width: 99%; 660 height: 99%; 661 top: 1px; 662 left: 1px; 663 margin: 1px; 664 padding: 1px; 665 overflow: auto; 666 } 667 668 html body[for='html-export']:not([dpm]) .smartperf-preview { 669 position: relative; 670 top: 1px; 671 } 672 673 @media screen and (min-width: 914px) { 674 html body[for='html-export']:not([dpm]) .smartperf-preview { 675 padding: 2em calc(50% - 458px + 2em); 676 } 677 } 678 679 @media screen and (max-width: 914px) { 680 html body[for='html-export']:not([dpm]) .smartperf-preview { 681 padding: 1.9em; 682 } 683 } 684 685 @media screen and (max-width: 450px) { 686 html body[for='html-export']:not([dpm]) .smartperf-preview { 687 font-size: 15px !important; 688 padding: 1.1em; 689 } 690 } 691 692 @media print { 693 html body[for='html-export']:not([dpm]) #sidebar-toc-btn { 694 display: none; 695 } 696 } 697 698 html body[for='html-export']:not([dpm]) #sidebar-toc-btn { 699 position: fixed; 700 bottom: 9px; 701 left: 9px; 702 font-size: 28px; 703 cursor: pointer; 704 color: inherit; 705 z-index: 99; 706 width: 31px; 707 text-align: center; 708 opacity: 0.5; 709 } 710 711 html body[for='html-export']:not([dpm])[hsst] #sidebar-toc-btn { 712 opacity: 1; 713 } 714 715 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc { 716 position: fixed; 717 top: 1px; 718 left: 1px; 719 width: 300px; 720 height: 99%; 721 padding: 32px 0 48px 0; 722 font-size: 14px; 723 box-shadow: 1px 1px 4px rgba(150, 150, 150, 0.33); 724 box-sizing: border-box; 725 overflow: auto; 726 background-color: inherit; 727 } 728 729 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc::-webkit-scrollbar { 730 width: 9px; 731 } 732 733 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc::-webkit-scrollbar-track { 734 border-radius: 11px; 735 background-color: transparent; 736 } 737 738 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc::-webkit-scrollbar-thumb { 739 border-radius: 6px; 740 background-color: rgba(150, 150, 150, 0.66); 741 border: 3px solid rgba(150, 150, 150, 0.66); 742 background-clip: content-box; 743 } 744 745 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc a { 746 text-decoration: none; 747 } 748 749 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc ul { 750 padding: 1px 1.7em; 751 margin-top: 0.9em; 752 } 753 754 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc li { 755 margin-bottom: 0.8em; 756 } 757 758 html body[for='html-export']:not([dpm])[hsst] .md-sidebar-toc ul { 759 list-style-type: none; 760 } 761 762 html body[for='html-export']:not([dpm])[hsst] .smartperf-preview { 763 left: 301px; 764 width: calc(100% - 300px); 765 padding: 2em calc(50% - 457px - 150px); 766 margin: 1px; 767 box-sizing: border-box; 768 } 769 770 @media screen and (max-width: 1274px) { 771 html body[for='html-export']:not([dpm])[hsst] .smartperf-preview { 772 padding: 1.9em; 773 } 774 } 775 776 @media screen and (max-width: 450px) { 777 html body[for='html-export']:not([dpm])[hsst] .smartperf-preview { 778 width: 99%; 779 } 780 } 781 782 html body[for='html-export']:not([dpm]):not([hsst]) .smartperf-preview { 783 left: 50%; 784 transform: translateX(-50%); 785 } 786 787 html body[for='html-export']:not([dpm]):not([hsst]) .md-sidebar-toc { 788 display: none; 789 } 790 </style> 791</head> 792<body for="html-export" id="body"> 793<div class="smartperf smartperf-preview"> 794 <h1 class="mume-header fontColor">系统内存抓取和展示说明</h1> 795 796 <p class="fontColor">系统内存分析模板帮助系统内存调优人员进行进程内存拆解。</p> 797 <h2 class="mume-header fontColor">系统内存的抓取</h2> 798 799 <h4 class="mume-header fontColor">系统内存的抓取配置参数</h4> 800 801 <p class="fontColor"> 802 打开VM Tracker开关抓取内存数据。<br/> 803 <img src="../figures/Allmemory/allmemorycofig.jpg" alt="GitHub Logo"/> 804 </p> 805 <h3 class="mume-header fontColor">系统内存展示说明</h3> 806 807 <p class="fontColor"> 808 将抓取的内存文件导入到smartperf中,查看进程内存的情况。<br/> 809 <img src="../figures/Allmemory/allmemoryrow.jpg" alt="GitHub Logo"/> 810 </p> 811 <h3 class="mume-header fontColor">系统内存中Ability Monitor泳道图显示</h3> 812 813 <p class="fontColor"> 814 Ability Monitor泳道图分为MemoryTotal,Cached,SwapTotal,System Purgeable Total,System Purgeable Pin,DMA,Skia 815 Gpu Memory泳道。<br/> 816 <img src="../figures/Allmemory/abrow.jpg" alt="GitHub Logo"/> 817 </p> 818 <h3 class="mume-header fontColor">系统内存中Ability Monitor泳道图点选功能</h3> 819 820 <p class="fontColor"> 821 System Purgeable Total泳道图点选功能。<br/> 822 <img src="../figures/Allmemory/purtotalselect.jpg" alt="GitHub Logo"/> 823 </p> 824 <ul class="fontColor"> 825 <li> 826 <pre class="smartperf-text fontColor light"> 827TimeStamp:时间戳。 828</pre 829> 830 </li> 831 <li> 832 <pre class="smartperf-text fontColor light"> 833ActivePurg:当前时间点的ActivePurg内存。 834</pre 835> 836 </li> 837 <li> 838 <pre class="smartperf-text fontColor light"> 839InActivePurg:当前时间点的InActivePurg内存。 840</pre 841> 842 </li> 843 <li> 844 <pre class="smartperf-text fontColor light"> 845ShmPurg:当前时间点的ShmPurg内存。 846</pre 847> 848 </li> 849 </ul> 850 <p class="fontColor"> 851 System Purgeable Total泳道图框选功能。<br/> 852 <img src="../figures/Allmemory/purtotaldrag.jpg" alt="GitHub Logo"/> 853 </p> 854 <ul class="fontColor"> 855 <li> 856 <pre class="smartperf-text fontColor light"> 857Type:内存的类别。 858</pre 859> 860 </li> 861 <li> 862 <pre class="smartperf-text fontColor light"> 863AvgSize:当前内存的平均值。 864</pre 865> 866 </li> 867 <li> 868 <pre class="smartperf-text fontColor light"> 869MaxSize:当前内存的最大值。 870</pre 871> 872 </li> 873 <li> 874 <pre class="smartperf-text fontColor light"> 875MinSize:当前内存的最小值。 876</pre 877> 878 </li> 879 </ul> 880 <p class="fontColor"> 881 System Purgeable Pin泳道图点选功能。<br/> 882 <img src="../figures/Allmemory/purpinselect.jpg" alt="GitHub Logo"/> 883 </p> 884 <ul class="fontColor"> 885 <li> 886 <pre class="smartperf-text fontColor light"> 887TimeStamp:时间戳。 888</pre 889> 890 </li> 891 <li> 892 <pre class="smartperf-text fontColor light"> 893PinedPurg:当前时间点的PinedPurg内存。 894</pre 895> 896 </li> 897 <li> 898 <pre class="smartperf-text fontColor light"> 899ShmPurg:当前时间点的ShmPurg内存。 900</pre 901> 902 </li> 903 </ul> 904 <p class="fontColor"> 905 System Purgeable Pin泳道图框选功能。<br/> 906 <img src="../figures/Allmemory/purpindrag.jpg" alt="GitHub Logo"/> 907 </p> 908 <ul class="fontColor"> 909 <li> 910 <pre class="smartperf-text fontColor light"> 911Type:内存的类别。 912</pre 913> 914 </li> 915 <li> 916 <pre class="smartperf-text fontColor light"> 917AvgSize:当前内存的平均值。 918</pre 919> 920 </li> 921 <li> 922 <pre class="smartperf-text fontColor light"> 923MaxSize:当前内存的最大值。 924</pre 925> 926 </li> 927 <li> 928 <pre class="smartperf-text fontColor light"> 929MinSize:当前内存的最小值。 930</pre 931> 932 </li> 933 </ul> 934 <p class="fontColor"> 935 DMA泳道图点选功能。<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泳道图框选功能。<br/> 1002 <img src="../figures/Allmemory/dmadrag.jpg" alt="GitHub Logo"/> 1003 </p> 1004 <ul class="fontColor"> 1005 <li> 1006 <pre class="smartperf-text fontColor light"> 1007Process(pid):进程名(进程ID)。 1008</pre 1009> 1010 </li> 1011 <li> 1012 <pre class="smartperf-text fontColor light"> 1013SumSize:DMA内存总量。 1014</pre 1015> 1016 </li> 1017 <li> 1018 <pre class="smartperf-text fontColor light"> 1019AvgSize:DMA内存的平均值。 1020</pre 1021> 1022 </li> 1023 <li> 1024 <pre class="smartperf-text fontColor light"> 1025MaxSize:DMA内存的最大值。 1026</pre 1027> 1028 </li> 1029 <li> 1030 <pre class="smartperf-text fontColor light"> 1031MinSize:DMA内存的最小值。 1032</pre 1033> 1034 </li> 1035 </ul> 1036 <p class="fontColor"> 1037 Skia Gpu Memory泳道图点选功能。<br/> 1038 <img src="../figures/Allmemory/sgpumemselect.jpg" alt="GitHub Logo"/> 1039 </p> 1040 <ul class="fontColor"> 1041 <li> 1042 <pre class="smartperf-text fontColor light"> 1043TimeStamp:时间戳。 1044</pre 1045> 1046 </li> 1047 <li> 1048 <pre class="smartperf-text fontColor light"> 1049GpuName:Gpu名称。 1050</pre 1051> 1052 </li> 1053 <li> 1054 <pre class="smartperf-text fontColor light"> 1055Process(pid):进程名(进程ID)。。 1056</pre 1057> 1058 </li> 1059 <li> 1060 <pre class="smartperf-text fontColor light"> 1061Size:对应进程的Gpu的使用size。 1062</pre 1063> 1064 </li> 1065 </ul> 1066 <p class="fontColor"> 1067 Skia Gpu Memory泳道图框选功能。<br/> 1068 <img src="../figures/Allmemory/sgpumemdrag.jpg" alt="GitHub Logo"/> 1069 </p> 1070 <ul class="fontColor"> 1071 <li> 1072 <pre class="smartperf-text fontColor light"> 1073GpuName:Gpu名称。 1074</pre 1075> 1076 </li> 1077 <li> 1078 <pre class="smartperf-text fontColor light"> 1079Process(pid):进程名(进程ID)。 1080</pre 1081> 1082 </li> 1083 <li> 1084 <pre class="smartperf-text fontColor light"> 1085SumSize:Gpu内存总量。 1086</pre 1087> 1088 </li> 1089 <li> 1090 <pre class="smartperf-text fontColor light"> 1091AvgSize:Gpu内存的平均值。 1092</pre 1093> 1094 </li> 1095 <li> 1096 <pre class="smartperf-text fontColor light"> 1097MaxSize:Gpu内存的最大值。 1098</pre 1099> 1100 </li> 1101 <li> 1102 <pre class="smartperf-text fontColor light"> 1103MinSize:Gpu内存的最小值。 1104</pre 1105> 1106 </li> 1107 </ul> 1108 <h3 class="mume-header fontColor">VM Tracker下的smaps泳道图展示</h3> 1109 1110 <p class="fontColor"> 1111 smaps泳道图分为Dirty,Swapped,RSS,PSS,USS泳道图。<br/> 1112 <img src="../figures/Allmemory/smapsallrow.jpg" alt="GitHub Logo"/> 1113 </p> 1114 <h3 class="mume-header fontColor">VM Tracker下的smaps泳道图的点选和框选功能</h3> 1115 1116 <p class="fontColor"> 1117 点选和框选Dirty,Swapped,RSS,PSS,USS的5个泳道图中任一个显示的都是一样的内容,会显示Smaps Statistic和Smaps 1118 sample的tab页。<br/> 1119 Smaps Statistic的tab页展示。<br/> 1120 <img src="../figures/Allmemory/sstaaticstab.jpg" alt="GitHub Logo"/> 1121 </p> 1122 <ul class="fontColor"> 1123 <li> 1124 <pre class="smartperf-text fontColor light"> 1125Type: 将抓取到的信息根据Type归类。 1126</pre 1127> 1128 </li> 1129 <li> 1130 <pre class="smartperf-text fontColor light"> 1131Path:虚拟内存块路径,类型中有多个则显示multiple。 1132</pre 1133> 1134 </li> 1135 <li> 1136 <pre class="smartperf-text fontColor light"> 1137Size:在该虚拟内存块路径下内存的size总和。 1138</pre 1139> 1140 </li> 1141 <li> 1142 <pre class="smartperf-text fontColor light"> 1143% of Res: 每行的Resident Size 占总Ressident Size的比例。 1144</pre 1145> 1146 </li> 1147 <li> 1148 <pre class="smartperf-text fontColor light"> 1149Count:统计的类型个数。 1150</pre 1151> 1152 </li> 1153 <li> 1154 <pre class="smartperf-text fontColor light"> 1155Rss: smaps节点中Rss。 1156</pre 1157> 1158 </li> 1159 <li> 1160 <pre class="smartperf-text fontColor light"> 1161Pss: smaps节点中Pss。 1162</pre 1163> 1164 </li> 1165 <li> 1166 <pre class="smartperf-text fontColor light"> 1167SharedClean: smaps节点中SharedClean。 1168</pre 1169> 1170 </li> 1171 <li> 1172 <pre class="smartperf-text fontColor light"> 1173SharedDirty:smaps节点中Shared_Dirty。 1174</pre 1175> 1176 </li> 1177 <li> 1178 <pre class="smartperf-text fontColor light"> 1179PrivateClean: smaps节点中PrivateClean。 1180</pre 1181> 1182 </li> 1183 <li> 1184 <pre class="smartperf-text fontColor light"> 1185PrivateDirty:smaps节点中PrivateDirty。 1186</pre 1187> 1188 </li> 1189 <li> 1190 <pre class="smartperf-text fontColor light"> 1191Swap:smaps节点中Swap。 1192</pre 1193> 1194 </li> 1195 <li> 1196 <pre class="smartperf-text fontColor light"> 1197SwapPss:smaps节点中SwapPss。 1198</pre 1199> 1200 </li> 1201 </ul> 1202 <p class="fontColor"> 1203 Smaps sample的tab页展示。<br/> 1204 <img src="../figures/Allmemory/ssampletab.jpg" alt="GitHub Logo"/> 1205 </p> 1206 <ul class="fontColor"> 1207 <li> 1208 <pre class="smartperf-text fontColor light"> 1209TimeStamp: 时间戳信息。 1210</pre 1211> 1212 </li> 1213 <li> 1214 <pre class="smartperf-text fontColor light"> 1215Type: 将抓取到的信息根据Type归类。 1216</pre 1217> 1218 </li> 1219 <li> 1220 <pre class="smartperf-text fontColor light"> 1221Path:虚拟内存块路径,类型中有多个则显示multiple。 1222</pre 1223> 1224 </li> 1225 <li> 1226 <pre class="smartperf-text fontColor light"> 1227Address Range:每段虚拟内存段的开始和结束位置。 1228</pre 1229> 1230 </li> 1231 <li> 1232 <pre class="smartperf-text fontColor light"> 1233Rss: smaps节点中Rss。 1234</pre 1235> 1236 </li> 1237 <li> 1238 <pre class="smartperf-text fontColor light"> 1239Pss: smaps节点中Pss。 1240</pre 1241> 1242 </li> 1243 <li> 1244 <pre class="smartperf-text fontColor light"> 1245SharedClean: smaps节点中SharedClean。 1246</pre 1247> 1248 </li> 1249 <li> 1250 <pre class="smartperf-text fontColor light"> 1251SharedDirty:smaps节点中Shared_Dirty。 1252</pre 1253> 1254 </li> 1255 <li> 1256 <pre class="smartperf-text fontColor light"> 1257PrivateClean: smaps节点中PrivateClean。 1258</pre 1259> 1260 </li> 1261 <li> 1262 <pre class="smartperf-text fontColor light"> 1263PrivateDirty:smaps节点中PrivateDirty。 1264</pre 1265> 1266 </li> 1267 <li> 1268 <pre class="smartperf-text fontColor light"> 1269Swap:smaps节点中Swap。 1270</pre 1271> 1272 </li> 1273 <li> 1274 <pre class="smartperf-text fontColor light"> 1275SwapPss:smaps节点中SwapPss。 1276</pre 1277> 1278 </li> 1279 <li> 1280 <pre class="smartperf-text fontColor light"> 1281Reside: Rss / Size 比值。 1282</pre 1283> 1284 </li> 1285 <li> 1286 <pre class="smartperf-text fontColor light"> 1287Protection: 内存块的权限(读写执行执行)。 1288</pre 1289> 1290 </li> 1291 </ul> 1292 <h3 class="mume-header fontColor">VM Tracker下的GPU泳道图展示</h3> 1293 1294 <p class="fontColor"> 1295 smaps泳道图分为GL,Skia Gpu Dump Toal,Skia Gpu Dump Window,Skia Gpu Memory泳道图。<br/> 1296 <img src="../figures/Allmemory/gpurow.jpg" alt="GitHub Logo"/><br/> 1297 Skia Gpu Memory泳道图点选功能。<br/> 1298 <img src="../figures/Allmemory/vgpumemselect.jpg" alt="GitHub Logo"/> 1299 </p> 1300 <ul class="fontColor"> 1301 <li> 1302 <pre class="smartperf-text fontColor light"> 1303TimeStamp:时间戳。 1304</pre 1305> 1306 </li> 1307 <li> 1308 <pre class="smartperf-text fontColor light"> 1309GpuName:Gpu名称。 1310</pre 1311> 1312 </li> 1313 <li> 1314 <pre class="smartperf-text fontColor light"> 1315Thread(tid):线程名(线程ID)。 1316</pre 1317> 1318 </li> 1319 <li> 1320 <pre class="smartperf-text fontColor light"> 1321Size:对应线程的Gpu的使用size。 1322</pre 1323> 1324 </li> 1325 </ul> 1326 <p class="fontColor"> 1327 Skia Gpu Memory泳道图框选功能。<br/> 1328 <img src="../figures/Allmemory/vgpumemdrag.jpg" alt="GitHub Logo"/> 1329 </p> 1330 <ul class="fontColor"> 1331 <li> 1332 <pre class="smartperf-text fontColor light"> 1333GpuName:Gpu名称。 1334</pre 1335> 1336 </li> 1337 <li> 1338 <pre class="smartperf-text fontColor light"> 1339Thread(tid):线程名(线程ID)。 1340</pre 1341> 1342 </li> 1343 <li> 1344 <pre class="smartperf-text fontColor light"> 1345SumSize:Gpu内存总量。 1346</pre 1347> 1348 </li> 1349 <li> 1350 <pre class="smartperf-text fontColor light"> 1351AvgSize:Gpu内存的平均值。 1352</pre 1353> 1354 </li> 1355 <li> 1356 <pre class="smartperf-text fontColor light"> 1357MaxSize:Gpu内存的最大值。 1358</pre 1359> 1360 </li> 1361 <li> 1362 <pre class="smartperf-text fontColor light"> 1363MinSize:Gpu内存的最小值。 1364</pre 1365> 1366 </li> 1367 </ul> 1368 <p class="fontColor"> 1369 Gl泳道图框选功能。<br/> 1370 <img src="../figures/Allmemory/vglrag.jpg" alt="GitHub Logo"/> 1371 </p> 1372 <ul class="fontColor"> 1373 <li> 1374 <pre class="smartperf-text fontColor light"> 1375TimeStamp:时间戳。 1376</pre 1377> 1378 </li> 1379 <li> 1380 <pre class="smartperf-text fontColor light"> 1381GL_PSS:GL_PSS的大小。 1382</pre 1383> 1384 </li> 1385 </ul> 1386 <p class="fontColor"> 1387 Skia Gpu Dump Toal泳道图点选功能。<br/> 1388 <img src="../figures/Allmemory/vgputotalselect.jpg" alt="GitHub Logo"/> 1389 </p> 1390 <ul class="fontColor"> 1391 <li> 1392 <pre class="smartperf-text fontColor light"> 1393Module / Category:模块/目录。 1394</pre 1395> 1396 </li> 1397 <li> 1398 <pre class="smartperf-text fontColor light"> 1399Size:按照模块/目录显示size大小。 1400</pre 1401> 1402 </li> 1403 </ul> 1404 <p class="fontColor"> 1405 Skia Gpu Dump Toal泳道图框选功能。<br/> 1406 <img src="../figures/Allmemory/vgputotaldrag.jpg" alt="GitHub Logo"/> 1407 </p> 1408 <ul class="fontColor"> 1409 <li> 1410 <pre class="smartperf-text fontColor light"> 1411TimeStamp:时间戳。 1412</pre 1413> 1414 </li> 1415 <li> 1416 <pre class="smartperf-text fontColor light"> 1417Module / Category:模块/目录。 1418</pre 1419> 1420 </li> 1421 <li> 1422 <pre class="smartperf-text fontColor light"> 1423AvgSize:对应模块/目录下size的平均值。 1424</pre 1425> 1426 </li> 1427 <li> 1428 <pre class="smartperf-text fontColor light"> 1429MaxSize:对应模块/目录下size的最大值。 1430</pre 1431> 1432 </li> 1433 <li> 1434 <pre class="smartperf-text fontColor light"> 1435MinSize:对应模块/目录下size的最小值。 1436</pre 1437> 1438 </li> 1439 </ul> 1440 <p class="fontColor"> 1441 Skia Gpu Dump Window泳道图点选功能。<br/> 1442 <img src="../figures/Allmemory/vgpuwindowselect.jpg" alt="GitHub Logo"/> 1443 </p> 1444 <ul class="fontColor"> 1445 <li> 1446 <pre class="smartperf-text fontColor light"> 1447Window / Module / Category:窗口/模块/目录。 1448</pre 1449> 1450 </li> 1451 <li> 1452 <pre class="smartperf-text fontColor light"> 1453Size:按照窗口/模块/目录显示size大小。 1454</pre 1455> 1456 </li> 1457 </ul> 1458 <p class="fontColor"> 1459 Skia Gpu Dump Window泳道图框选功能。<br/> 1460 <img src="../figures/Allmemory/vgpuwindowdrag.jpg" alt="GitHub Logo"/> 1461 </p> 1462 <ul class="fontColor"> 1463 <li> 1464 <pre class="smartperf-text fontColor light"> 1465TimeStamp:时间戳。 1466</pre 1467> 1468 </li> 1469 <li> 1470 <pre class="smartperf-text fontColor light"> 1471Window / Module / Category:窗口/模块/目录。 1472</pre 1473> 1474 </li> 1475 <li> 1476 <pre class="smartperf-text fontColor light"> 1477AvgSize:对应窗口/模块/目录下size的平均值。 1478</pre 1479> 1480 </li> 1481 <li> 1482 <pre class="smartperf-text fontColor light"> 1483MaxSize:对应窗口/模块/目录下size的最大值。 1484</pre 1485> 1486 </li> 1487 <li> 1488 <pre class="smartperf-text fontColor light"> 1489MinSize:对应窗口/模块/目录下size的最小值。 1490</pre 1491> 1492 </li> 1493 </ul> 1494</div> 1495 1496<script> 1497 window.onload = () => { 1498 let isDark = window.location.search; 1499 if (isDark.indexOf('?') != -1) { 1500 isDark = isDark.substr(1, isDark.length - 1); 1501 } 1502 if (isDark == 'true') { 1503 document.getElementById('body').setAttribute('style', 'background-color:#272C34;'); 1504 let header = document.getElementsByClassName('fontColor'); 1505 for (let i = 0; i < header.length; i++) { 1506 header[i].style.color = '#fff'; 1507 } 1508 let lightBackGround = document.getElementsByClassName('light'); 1509 for (let i = 0; i < lightBackGround.length; i++) { 1510 lightBackGround[i].style.backgroundColor = '#32373F'; 1511 } 1512 } 1513 }; 1514</script> 1515</body> 1516</html> 1517