Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Side by Side Diff: chrome/browser/resources/about_memory_linux.html

Issue 177024: Linux: about:memory (Closed)
Patch Set: ... Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 2
3 <!-- 3 <!--
4 about:memory template page 4 about:memory template page
5 --> 5 -->
6 <html id="t"> 6 <html id="t">
7 <head> 7 <head>
8 <title>About Memory</title> 8 <title>About Memory</title>
9 9
10 <style> 10 <style>
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 color: #3f3f3f; 261 color: #3f3f3f;
262 } 262 }
263 263
264 .heavyUse { 264 .heavyUse {
265 color: #cc0000; 265 color: #cc0000;
266 font-weight: bold; 266 font-weight: bold;
267 } 267 }
268 268
269 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(2), 269 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(2),
270 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(5), 270 table.list#memoryDetails tr:not([class*='firstRow']) > *:nth-child(5),
271 table.list#memoryDetails tr.firstRow th:nth-child(2), 271 table.list#memoryDetails tr.firstRow th:nth-child(2) {
272 table.list#memoryDetails tr.firstRow th:nth-child(3) {
273 border-right: 1px solid #b5c6de; 272 border-right: 1px solid #b5c6de;
274 } 273 }
275 274
276 table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(1), 275 table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(1),
277 table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(4), 276 table.list#browserComparison tr:not([class*='firstRow']) > *:nth-child(4),
278 table.list#browserComparison tr.firstRow th:nth-child(1), 277 table.list#browserComparison tr.firstRow th:nth-child(1) {
279 table.list#browserComparison tr.firstRow th:nth-child(2) {
280 border-right: 1px solid #b5c6de; 278 border-right: 1px solid #b5c6de;
281 } 279 }
282 table.list#browserComparison .name { 280 table.list#browserComparison .name {
283 padding-left: 25px; 281 padding-left: 25px;
284 background-position: 5px center; 282 background-position: 5px center;
285 background-repeat: no-repeat; 283 background-repeat: no-repeat;
286 } 284 }
287 285
288 div.help { 286 div.help {
289 display: inline-block; 287 display: inline-block;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 </p> 417 </p>
420 </div> 418 </div>
421 </div> 419 </div>
422 </h2> 420 </h2>
423 421
424 <table class='list' id='browserComparison'> 422 <table class='list' id='browserComparison'>
425 <colgroup> 423 <colgroup>
426 <col class='name' /> 424 <col class='name' />
427 <col class='number' /> 425 <col class='number' />
428 <col class='number' /> 426 <col class='number' />
429 <col class='number' />
430 <col class='number' />
431 <col class='number' />
432 </colgroup> 427 </colgroup>
433 <tr class='firstRow doNotFilter'> 428 <tr class='firstRow doNotFilter'>
434 <th> 429 <th>
435 </th> 430 </th>
436 <th colspan='3'> 431 <th colspan='2'>
437 Memory 432 Memory
438 <div class='help'> 433 <div class='help'>
439 <div> 434 <div>
440 <p> 435 <p>
441 <strong>Memory</strong> 436 <strong>Memory</strong>
442 </p> 437 </p>
443 <p> 438 <p>
444 <strong>Private:</strong> 439 <strong>Private:</strong>
445 Resident memory size that is not shared with any other process . 440 Resident memory size that is not shared with any other process .
446 This is the best indicator of browser memory resource usage. 441 This is the best indicator of browser memory resource usage.
447 </p> 442 </p>
448 <p> 443 <p>
449 <strong>Shared:</strong> 444 <strong>Proportional:</strong>
450 Resident memory size that is currently shared with 2 or more p rocesses. 445 Accounts for each page of memory as a fraction based on the nu mber of
451 Note: For browsers using multiple processes, if we simply adde d the shared memory 446 processes that have it mapped. Thus, for each page of memory m apped by two
452 of each individual process, this value would be inflated. Ther efore, this value 447 processes, this sum will count half of the bytes towards each.
453 is computed as an approximate value for shared memory in each of the browser's 448 Therefore, this number is greater than the private count.
454 processes. Note also that shared memory varies depending on wh at other processes
455 are running on the system, and may be difficult to measure rep roducibly.
456 </p> 449 </p>
457 <p> 450
458 <strong>Total:</strong> 451 <p><i>(Note that the memory for this tab is not included in the browser totals)</i></p>
459 The sum of the private + shared resident memory sizes.
460 </p>
461 </div> 452 </div>
462 </div> 453 </div>
463 </th> 454 </th>
464 <th colspan='2'>
465 Virtual memory
466 <div class='help'>
467 <div>
468 <p>
469 <strong>Virtual memory</strong>
470 </p>
471 <p>
472 <strong>Private:</strong>
473 The resident and paged bytes committed for use by only this pr ocess.
474 </p>
475 <p>
476 <strong>Mapped:</strong>
477 Total bytes allocated by this process that are mapped into the
478 view of a section, backed by either system pagefile or file sy stem. This
479 is primarily memory-mapped files.
480 </p>
481 </div>
482 </div>
483 </th>
484 </tr> 455 </tr>
485 <tr class='secondRow doNotFilter'> 456 <tr class='secondRow doNotFilter'>
486 <th class='name'> 457 <th class='name'>
487 Browser 458 Browser
488 </th> 459 </th>
489 <th class='name'> 460 <th class='name'>
490 Private 461 Private
491 </th> 462 </th>
492 </th>
493 <th class='number'> 463 <th class='number'>
494 Shared 464 Proportional
495 </th>
496 <th class='number'>
497 Total
498 </th>
499 <th class='number'>
500 Private
501 </th>
502 <th class='number'>
503 Mapped
504 </th> 465 </th>
505 </tr> 466 </tr>
506 <tr jsselect="browsers"> 467 <tr jsselect="browsers">
507 <td class='name'> 468 <td class='name'>
508 <div> 469 <div>
509 <strong jscontent="name"></strong> <span jscontent="version"></spa n> 470 <strong jscontent="name"></strong> <span jscontent="version"></spa n>
510 </div> 471 </div>
511 </td> 472 </td>
512 <td class='number'> 473 <td class='number'>
513 <span class='th' jscontent="formatNumber(ws_priv + ws_shareable - ws _shared)"></span><span class='k'>k</span> 474 <span class='th' jscontent="formatNumber(ws_priv)"></span><span clas s='k'>k</span>
514 </td> 475 </td>
515 <td class='number'> 476 <td class='number'>
516 <span class='th' jscontent="formatNumber(ws_shared / processes)"></s pan><span class='k'>k</span> 477 <span class='th' jscontent="formatNumber(ws_shared)"></span><span cl ass='k'>k</span>
517 </td>
518 <td class='number'>
519 <span class='th' jscontent="formatNumber(ws_priv + ws_shareable - ws _shared + (ws_shared / processes))"></span><span class='k'>k</span>
520 </td>
521 <td class='number'>
522 <span class='th' jscontent="formatNumber(comm_priv)"></span><span cl ass='k'>k</span>
523 </td>
524 <td class='number'>
525 <span class='th' jscontent="formatNumber(comm_map)"></span><span cla ss='k'>k</span>
526 </td> 478 </td>
527 </tr> 479 </tr>
528 </table> 480 </table>
529 <div class=otherbrowsers jsdisplay="browsers.length == 1"> 481 <div class=otherbrowsers jsdisplay="browsers.length == 1">
530 Note: If other browsers (e.g. IE, Firefox, Safari) are running, 482 Note: If other browsers (e.g. IE, Firefox, Safari) are running,
531 I'll show their memory details here. 483 I'll show their memory details here.
532 </div> 484 </div>
533 485
534 <br /><br /><br /> 486 <br /><br /><br />
535 487
536 <h2> 488 <h2>
537 Processes 489 Processes
538 <div class='help'> 490 <div class='help'>
539 <div> 491 <div>
540 <p> 492 <p>
541 Details of memory usage for each of Chromium's processes. 493 Details of memory usage for each of Chromium's processes.
542 </p> 494 </p>
543 </div> 495 </div>
544 </div> 496 </div>
545 </h2> 497 </h2>
546 498
547 <table class='list' id='memoryDetails'> 499 <table class='list' id='memoryDetails'>
548 <colgroup> 500 <colgroup>
549 <col class='pid' /> 501 <col class='pid' />
550 <col class='name' /> 502 <col class='name' />
551 <col class='number' /> 503 <col class='number' />
552 <col class='number' /> 504 <col class='number' />
553 <col class='number' />
554 <col class='number' />
555 <col class='number' />
556 </colgroup> 505 </colgroup>
557 <tr class='firstRow doNotFilter'> 506 <tr class='firstRow doNotFilter'>
558 <th> 507 <th>
559 </th> 508 </th>
560 <th> 509 <th>
561 </th> 510 </th>
562 <th colspan='3'> 511 <th colspan='2'>
563 Memory 512 Memory
564 </th> 513 </th>
565 <th colspan='2'>
566 Virtual memory
567 </th>
568
569 </tr> 514 </tr>
570 <tr class='secondRow doNotFilter'> 515 <tr class='secondRow doNotFilter'>
571 <th class='pid'> 516 <th class='pid'>
572 PID 517 PID
573 </th> 518 </th>
574 <th class='name'> 519 <th class='name'>
575 Name 520 Name
576 </th> 521 </th>
577 <th class='number'> 522 <th class='number'>
578 Private 523 Private
579 </th> 524 </th>
580 <th class='number'> 525 <th class='number'>
581 Shared 526 Proportional
582 </th>
583 <th class='number'>
584 Total
585 </th>
586 <th class='number'>
587 Private
588 </th>
589 <th class='number'>
590 Mapped
591 </th> 527 </th>
592 </tr> 528 </tr>
593 529
594 <tr jsselect="browzr_data"> 530 <tr jsselect="browzr_data">
595 <td class='pid'> 531 <td class='pid'>
596 <span class='th' jscontent="pid"></span> 532 <span class='th' jscontent="pid"></span>
597 </td> 533 </td>
598 <td class='name'> 534 <td class='name'>
599 <div> 535 <div>
600 Browser 536 Browser
601 </div> 537 </div>
602 </td> 538 </td>
603 <td class='number'> 539 <td class='number'>
604 <span class='th' jseval="addToSum('tot_ws_priv', $this.ws_priv + $th is.ws_shareable - $this.ws_shared)" jscontent="ws_priv + ws_shareable - ws_share d"></span><span class='k'>k</span> 540 <span class='th' jseval="addToSum('tot_ws_priv', $this.ws_priv)" jsc ontent="formatNumber(ws_priv)"></span><span class='k'>k</span>
605 </td> 541 </td>
606 <td class='number'> 542 <td class='number'>
607 <span class='th' jscontent="ws_shared"></span><span class='k'>k</spa n> 543 <span class='th' jscontent="formatNumber(ws_shared)"></span><span cl ass='k'>k</span>
608 </td>
609 <td class='number'>
610 <span class='th' jseval="addToSum('tot_ws_tot', $this.ws_priv + $thi s.ws_shareable)" jscontent="ws_priv + ws_shareable"></span><span class='k'>k</sp an>
611 </td>
612 <td class='number'>
613 <span class='th' jseval="addToSum('tot_comm_priv', $this.comm_priv)" jscontent="comm_priv"></span><span class='k'>k</span>
614 </td>
615 <td class='number'>
616 <span class='th' jseval="addToSum('tot_comm_map', $this.comm_map)" j scontent="comm_map"></span><span class='k'>k</span>
617 </td> 544 </td>
618 </tr> 545 </tr>
619 <tr jsselect="child_data"> 546 <tr jsselect="child_data">
620 <td class='pid'> 547 <td class='pid'>
621 <span class='th' jscontent="pid"></span> 548 <span class='th' jscontent="pid"></span>
622 </td> 549 </td>
623 <td class='name'> 550 <td class='name'>
624 <div jscontent="child_name"></div> 551 <div jscontent="child_name"></div>
625 <div jsselect="titles"> 552 <div jsselect="titles">
626 <span jscontent="$this"></span><br> 553 <span jscontent="$this"></span><br>
627 </div> 554 </div>
628 </td> 555 </td>
629 <td class='number'> 556 <td class='number'>
630 <span class='th' jseval="addToSum('tot_ws_priv', $this.ws_priv + $th is.ws_shareable - $this.ws_shared)" jscontent="ws_priv + ws_shareable - ws_share d"></span><span class='k'>k</span> 557 <span class='th' jseval="addToSum('tot_ws_priv', $this.ws_priv)" jsc ontent="formatNumber(ws_priv)"></span><span class='k'>k</span>
631 </td> 558 </td>
632 <td class='number'> 559 <td class='number'>
633 <span class='th' jscontent="ws_shared"></span><span class='k'>k</spa n> 560 <span class='th' jscontent="formatNumber(ws_shared)"></span><span cl ass='k'>k</span>
634 </td>
635 <td class='number'>
636 <span class='th' jseval="addToSum('tot_ws_tot', $this.ws_priv + $thi s.ws_shareable)" jscontent="ws_priv + ws_shareable"></span><span class='k'>k</sp an>
637 </td>
638 <td class='number'>
639 <span class='th' jseval="addToSum('tot_comm_priv', $this.comm_priv)" jscontent="comm_priv"></span><span class='k'>k</span>
640 </td>
641 <td class='number'>
642 <span class='th' jseval="addToSum('tot_comm_map', $this.comm_map)" j scontent="comm_map"></span><span class='k'>k</span>
643 </td> 561 </td>
644 </tr> 562 </tr>
645 <tr class='total doNotFilter'> 563 <tr class='total doNotFilter'>
646 <td class='pid'> 564 <td class='pid'>
647 </td> 565 </td>
648 <td class='name'> 566 <td class='name'>
649 &Sigma; 567 &Sigma;
650 </td> 568 </td>
651 <td class='number'> 569 <td class='number'>
652 <span class='th' id="tot_ws_priv">0</span><span class='k'>k</span> 570 <span class='th' id="tot_ws_priv">0</span><span class='k'>k</span>
653 </td> 571 </td>
654 <td class='number'> 572 <td class='number'>
655 </td> 573 </td>
656 <td class='number'>
657 <span class='th' id="tot_ws_tot">0</span><span class='k'>k</span>
658 </td>
659 <td class='number'>
660 <span class='th' id="tot_comm_priv">0</span><span class='k'>k</span>
661 </td>
662 <td class='number'>
663 <div class='help'>
664 <div>
665 <p>
666 This is an approximation. Conceptually, this is the total
667 amount of in-memory pages for the entire logical Chromium
668 application, without double counting shared pages (e.g.
669 mapped
670 DLLs, SharedMemory bitmaps, etc.) across the browser and
671 renderers.
672 </p>
673 </div>
674 </div>
675 <span class='th' id="tot_comm_map">0</span><span class='k'>k</span>
676 </td>
677 </tr> 574 </tr>
678 575
679 <tr class='noResults'> 576 <tr class='noResults'>
680 <td colspan='99'> 577 <td colspan='99'>
681 No results found. 578 No results found.
682 </td> 579 </td>
683 </tr> 580 </tr>
684 </table> 581 </table>
685 </div> 582 </div>
686 </body> 583 </body>
687 <script> 584 <script>
688 enableHelpTooltips(); 585 enableHelpTooltips();
689 </script> 586 </script>
690 </html> 587 </html>
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_sandbox_host_linux.cc ('k') | chrome/browser/zygote_host_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698