servo/components/compositing
Nicholas Nethercote 187068e2ae Add a kind field to memory reports.
This is used for two memory reporting improvements.

- It's used to distinguish "explicit" memory reports from others. This
  mirrors the same categorization that is used in Firefox, and gives a single
  tree that's the best place to look. It replaces the "pages" tree which
  was always intended to be a temporary stand-in for "explicit".

- It's used to computed "heap-unclassified" values for both the jemalloc
  and system heaps, both of which are placed into the "explicit" tree.

Example output:
```
|  114.99 MiB -- explicit
|      52.34 MiB -- jemalloc-heap-unclassified
|      46.14 MiB -- system-heap-unclassified
|      14.95 MiB -- url(file:///home/njn/moz/servo2/../servo-static-suite/wikipe
dia/Guardians%20of%20the%20Galaxy%20(film)%20-%20Wikipedia,%20the%20free%20encyc
lopedia.html)
|          7.32 MiB -- js
|             3.07 MiB -- malloc-heap
|             3.00 MiB -- gc-heap
|                2.49 MiB -- used
|                0.34 MiB -- decommitted
|                0.09 MiB -- unused
|                0.09 MiB -- admin
|             1.25 MiB -- non-heap
|          1.36 MiB -- layout-worker-3-local-context
|          1.34 MiB -- layout-worker-0-local-context
|          1.24 MiB -- layout-worker-1-local-context
|          1.24 MiB -- layout-worker-4-local-context
|          1.16 MiB -- layout-worker-2-local-context
|          0.89 MiB -- layout-worker-5-local-context
|          0.38 MiB -- layout-task
|             0.31 MiB -- display-list
|             0.07 MiB -- local-context
|       1.56 MiB -- compositor-task
|          0.78 MiB -- surface-map
|          0.78 MiB -- layer-tree
```
The heap-unclassified values dominate the "explicit" tree because reporter
coverage is still quite poor.
2015-07-29 16:11:19 -07:00
..
Cargo.toml script: Make most of 2D canvas and WebGL run over IPC. 2015-07-25 00:50:12 -07:00
compositor.rs Add a kind field to memory reports. 2015-07-29 16:11:19 -07:00
compositor_layer.rs Move LayerBuffer cache to the compositor 2015-07-08 08:05:11 -07:00
compositor_task.rs Have BufferMap store NativeSurfaces and rename to SurfaceMap 2015-07-24 11:12:39 -07:00
constellation.rs Auto merge of #6812 - ecoal95:webgl-fail, r=jdm 2015-07-29 15:29:58 -06:00
headless.rs Have BufferMap store NativeSurfaces and rename to SurfaceMap 2015-07-24 11:12:39 -07:00
lib.rs script: Make most of 2D canvas and WebGL run over IPC. 2015-07-25 00:50:12 -07:00
pipeline.rs devtools: Convert the developer tools to run over IPC. 2015-07-27 09:10:01 -07:00
scrolling.md Add documentation about the scrolling model 2014-10-10 09:26:43 -07:00
scrolling.rs compositing: Fix scrolling timeout. There are 1,000,000 nanoseconds in a 2015-05-11 14:44:49 -07:00
surface_map.rs Have BufferMap store NativeSurfaces and rename to SurfaceMap 2015-07-24 11:12:39 -07:00
windowing.rs Update to latest rust-layers 2015-06-30 21:58:54 -07:00