Android中圖形參數及圖形記憶體資訊擷取

來源:互聯網
上載者:User

標籤:android   style   io   ar   color   os   sp   on   cti   

1、adb shelldumpsys gfxinfo

Caches:

Current memoryusage / total memory usage (bytes):

 TextureCache          2182188 /25165824

 LayerCache            6553600 /16777216

 RenderBufferCache           0/  2097152

 GradientCache               0/   524288

 PathCache                   0 /10485760

 TextDropShadowCache    225936/  2097152

 PatchCache               1408/   131072

 FontRenderer 0 A8      524288/   524288

 FontRenderer 0 RGBA         0/        0

 FontRenderer 0 total   524288 /   524288

Other:

 FboCache                   15/       16

Total memoryusage:

  9487420 bytes, 9.05 MB

 

2、adb shelldumpsys SurfaceFlinger

[HWC Compose State (0)]

  Total size: 0 bytes

 

Allocated buffers:

0xb7809d40: 2040.00KiB |  540 ( 544) x  960 |       1 | 0x00001a00

0xb78328e8: 2040.00 KiB |  540 ( 544) x 960 |        1 | 0x00000900

0xb784cc80: 2040.00 KiB |  540 ( 544) x 960 |        1 | 0x00001a00

0xb7870308:   80.75 KiB |  540 ( 544) x  38 |        1 | 0x00000900

0xb787b168: 2040.00 KiB |  540 ( 544) x 960 |        1 | 0x00001a00

0xb789a3d8:   80.75 KiB | 540 ( 544) x   38 |        1 | 0x00000900

0xb789b900: 2040.00 KiB |  540 ( 544) x 960 |        1 | 0x00000900

0xb7997e08: 2040.00 KiB |  540 ( 544) x 960 |        1 | 0x00000900

0xb79992c8:   80.75 KiB | 540 ( 544) x   38 |        1 | 0x00000900

0xb79b7770: 2040.00 KiB |  540 ( 544) x 960 |        1 | 0x00000900

0xb79e09e8:   80.75 KiB | 540 ( 544) x   38 |        1 | 0x00000900

0xb79e5fa0: 2040.00 KiB |  540 ( 544) x 960 |        1 | 0x00000900

0xb79ed170: 2040.00 KiB |  540 ( 544) x 960 |        1 | 0x00000900

0xb79ee9a8: 2040.00 KiB |  540 ( 544) x 960 |        1 | 0x00000900

0xb79ef168: 4080.00KiB | 1080 (1088) x  960 |        2 | 0x00000900

0xb7a24a68: 2040.00 KiB |  540 ( 544) x 960 |        1 | 0x00000900

0xb7a2d580: 2040.00 KiB |  540 ( 544) x 960 |        1 | 0x00000900

0xb7a34c48: 2040.00 KiB |  540 ( 544) x 960 |        1 | 0x00000900

0xb7a885c8: 2040.00 KiB |  540 ( 544) x 960 |        1 | 0x00000900

0xb7c718c0: 2040.00 KiB |  540 ( 544) x 960 |        1 | 0x00000900

Totalallocated (estimate): 35003.00 KB

 

  last eglSwapBuffers() time: 40.539000 us

  last transaction time     : 79.307000 us

  transaction-flags         : 00000000

  refresh-rate              : 60.360004 fps

  x-dpi                     : 240.000000

  y-dpi                     : 240.000000

  EGL_NATIVE_VISUAL_ID      : 1

  gpu_to_cpu_unsupported    : 0

  eglSwapBuffers time: 0.000000 us

  transaction time: 0.000000 us

VSYNC state:enabled

  soft-vsync: enabled

3、adb shell cat /sys/kernel/debug/ion/ion_mm_heap(Soul4TMO have no this node)

          client(        dbg_name)              pid             size address

----------------------------------------------------

 m.android.phone(         gralloc)             1034          2359296 0xdcacfe80

 ndroid.systemui(         gralloc)              850         11059200 0xdd578b00

   system_server(         gralloc)              716          2359296 0xde0b3000

 .android.dialer(         gralloc)             4690         10715136 0xde348c00

  surfaceflinger(         gralloc)              222         35856384 0xdea49200

----------------------------------------------------

orphanedallocations (info is from last known client):

----------------------------------------------------

  total orphaned                0

          total          38215680

   deferred free                0

----------------------------------------------------

129 order 2highmem pages in pool = 2113536 total

0 order 2 lowmempages in pool = 0 total

70 order 2highmem pages in cached_pool = 1146880 total

0 order 2 lowmempages in cached_pool = 0 total

0 order 0highmem pages in pool = 0 total

0 order 0 lowmempages in pool = 0 total

2 order 0highmem pages in cached_pool = 8192 total

0 order 0 lowmempages in cached_pool = 0 total

mm_heap_freelisttotal_size=0x0

----------------------------------------------------

  buffer    size kmap ref hdl mod      mva secflag pid comm(client)   v1   v2  v3   v4 dbg_name

0xd1c37580    86016  0   3   2   0   f00000  0   0 222 surfaceflinger 0x0 0x00x0 0x0 nothing sf_info(-18771955 0 0 540 38 0 0 540 38 335478785 0 0 0 0 0 0 )

0xd1c37f80    86016  0   3   2   0   900000  0   0 222 surfaceflinger 0x0 0x00x0 0x0 nothing sf_info(-18771955 0 0 540 38 0 0 540 38 67043329 0 0 0 0 0 0 )

0xd1e28380  2088960   0  2   1   0 2100000   0   0 222 surfaceflinger 0x0 0x0 0x0 0x0 nothingsf_info(-18771955 0 0 540 119 0 0 540 119 134152193 0 0 0 0 0 0 )

0xd702ed00    86016  0   3   2   0  1000000  0   0 222 surfaceflinger 0x0 0x00x0 0x0 nothing sf_info(-18771955 0 0 540 38 0 0 540 38 67043329 0 0 0 0 0 0 )

0xd72ebd00  2088960  0   3   2   0  2700000  0   0 222 surfaceflinger 0x0 0x00x0 0x0 nothing sf_info(-18771955 0 0 540 960 0 0 540 960 67043329 0 0 0 0 0 0)

0xdc9a0a80  2088960  0   3   2   0   c00000  0   0 222 surfaceflinger 0x0 0x00x0 0x0 nothing sf_info(-18771955 0 38 540 922 0 38 540 922 67043329 0 0 0 0 00 )


Android中圖形參數及圖形記憶體資訊擷取

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.