Rename getIonMappedSizeKb to getDmabufMappedSizeKb
The function is actually calculating the total mapped DMA-BUF memory. Test: dumpsys meminfo Bug: 167709539 Change-Id: I5c19dc604cf48c3d7ccbfd2d9a83ddd7b35f20d5 Merged-In: I5c19dc604cf48c3d7ccbfd2d9a83ddd7b35f20d5
This commit is contained in:
@@ -2567,13 +2567,13 @@ public final class Debug
|
||||
public static native long getIonPoolsSizeKb();
|
||||
|
||||
/**
|
||||
* Return ION memory mapped by processes in kB.
|
||||
* Return DMA-BUF memory mapped by processes in kB.
|
||||
* Notes:
|
||||
* * Warning: Might impact performance as it reads /proc/<pid>/maps files for each process.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public static native long getIonMappedSizeKb();
|
||||
public static native long getDmabufMappedSizeKb();
|
||||
|
||||
/**
|
||||
* Return memory size in kilobytes used by GPU.
|
||||
|
||||
Reference in New Issue
Block a user