Home
last modified time | relevance | path

Searched refs:memStates (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java756 public long computeProcessTimeLocked(int[] screenStates, int[] memStates, in computeProcessTimeLocked() argument
760 for (int im=0; im<memStates.length; im++) { in computeProcessTimeLocked()
762 int bucket = ((screenStates[is] + memStates[im]) * STATE_COUNT) in computeProcessTimeLocked()
773 int[] screenStates, int[] memStates, int[] procStates, in dumpSummary() argument
783 dumpProcessSummaryDetails(pw, prefix, " TOTAL: ", screenStates, memStates, in dumpSummary()
785 dumpProcessSummaryDetails(pw, prefix, " Persistent: ", screenStates, memStates, in dumpSummary()
787 dumpProcessSummaryDetails(pw, prefix, " Top: ", screenStates, memStates, in dumpSummary()
789 dumpProcessSummaryDetails(pw, prefix, " Imp Fg: ", screenStates, memStates, in dumpSummary()
791 dumpProcessSummaryDetails(pw, prefix, " Imp Bg: ", screenStates, memStates, in dumpSummary()
793 dumpProcessSummaryDetails(pw, prefix, " Backup: ", screenStates, memStates, in dumpSummary()
[all …]
DDumpUtils.java334 int[] memStates, int[] procStates) { in dumpStateHeadersCsv() argument
336 final int NM = memStates != null ? memStates.length : 1; in dumpStateHeadersCsv()
347 if (memStates != null && memStates.length > 1) { in dumpStateHeadersCsv()
351 printMemLabelCsv(pw, memStates[im]); in dumpStateHeadersCsv()
366 ArrayList<ProcessState> procs, int[] screenStates, int[] memStates, int[] procStates, in dumpProcessSummaryLocked() argument
370 proc.dumpSummary(pw, prefix, screenStates, memStates, procStates, now, totalTime); in dumpProcessSummaryLocked()
375 boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, in dumpProcessListCsv() argument
383 sepMemStates ? memStates : null, in dumpProcessListCsv()
394 memStates, sepProcStates, procStates, now); in dumpProcessListCsv()
DSysMemUsageTable.java142 public void dump(PrintWriter pw, String prefix, int[] screenStates, int[] memStates) { in dump() argument
146 for (int im=0; im<memStates.length; im++) { in dump()
148 final int imem = memStates[im]; in dump()
158 if (memStates.length > 1) { in dump()
DProcessStats.java384 for (int im=0; im<data.memStates.length; im++) { in computeTotalMemoryUse()
385 int memBucket = data.screenStates[is] + data.memStates[im]; in computeTotalMemoryUse()
1611 int[] screenStates, int[] memStates, int[] procStates, in dumpFilteredSummaryLocked() argument
1613 ArrayList<ProcessState> procs = collectProcessesLocked(screenStates, memStates, in dumpFilteredSummaryLocked()
1620 DumpUtils.dumpProcessSummaryLocked(pw, prefix, procs, screenStates, memStates, in dumpFilteredSummaryLocked()
1625 public ArrayList<ProcessState> collectProcessesLocked(int[] screenStates, int[] memStates, in collectProcessesLocked() argument
1657 if (proc.computeProcessTimeLocked(screenStates, memStates, procStates, now) > 0) { in collectProcessesLocked()
1660 proc.computeProcessTimeLocked(screenStates, memStates, sortProcStates, now); in collectProcessesLocked()
1875 final int[] memStates; field in ProcessStats.ProcessDataCollection
1892 memStates = _memStates; in ProcessDataCollection()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java399 boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, in dumpFilteredProcessesCsvLocked() argument
402 screenStates, memStates, procStates, procStates, now, reqPackage, false); in dumpFilteredProcessesCsvLocked()
408 sepMemStates, memStates, sepProcStates, procStates, now); in dumpFilteredProcessesCsvLocked()