Acquisition of graphics parameters and graphics memory information in Android

Source: Internet
Author: User

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 |        (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 has 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 the 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

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 5 922 67043329 0 0 0 0)


Acquisition of graphics parameters and graphics memory information in Android

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.