Merge "Switch the SystemMemory atom to use the dmabuf interface for ion" into sc-dev

This commit is contained in:
Ioannis Ilkos
2021-03-14 18:47:26 +00:00
committed by Android (Google) Code Review

View File

@@ -26,7 +26,7 @@ final class SystemMemoryUtil {
private SystemMemoryUtil() {}
static Metrics getMetrics() {
int totalIonKb = (int) Debug.getIonHeapsSizeKb();
int totalIonKb = (int) Debug.getDmabufHeapTotalExportedKb();
int gpuTotalUsageKb = (int) Debug.getGpuTotalUsageKb();
int gpuDmaBufUsageKb = (int) Debug.getGpuDmaBufUsageKb();
int dmaBufTotalExportedKb = (int) Debug.getDmabufTotalExportedKb();