|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.dex.cf.CodeStatistics
public final class CodeStatistics
Static methods and variables for collecting statistics on generated code.
| Field Summary | |
|---|---|
static int |
dexRunningDeltaInsns
running sum of the number of dex-form insns (actually code units) added/removed in SSA form by the optimizer. |
static int |
dexRunningDeltaRegisters
running sum of the number of dex-form registers added/removed in SSA form by the optimizer. |
static int |
dexRunningTotalInsns
running sum of the total number of dex insns (actually code units) processed |
static int |
runningDeltaInsns
running sum of the number of insns added/removed in SSA form by the optimizer |
static int |
runningDeltaRegisters
running sum of the number of registers added/removed in SSA form by the optimizer |
static int |
runningOriginalBytes
running sum of original class bytecode bytes |
static int |
runningTotalInsns
running sum of the total number of Rop insns processed |
| Method Summary | |
|---|---|
static void |
dumpStatistics(PrintStream out)
Prints out the collected statistics. |
static void |
updateDexStatistics(DalvCode nonOptCode,
DalvCode code)
Updates the dex statistics. |
static void |
updateOriginalByteCount(int count)
Updates the number of original bytecode bytes processed. |
static void |
updateRopStatistics(RopMethod nonOptRmeth,
RopMethod rmeth)
Updates the ROP statistics. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int runningDeltaRegisters
public static int runningDeltaInsns
public static int runningTotalInsns
public static int dexRunningDeltaRegisters
public static int dexRunningDeltaInsns
public static int dexRunningTotalInsns
public static int runningOriginalBytes
| Method Detail |
|---|
public static void updateOriginalByteCount(int count)
count - >= 0; the number of bytes to add
public static void updateDexStatistics(DalvCode nonOptCode,
DalvCode code)
nonOptCode - non-optimized code blockcode - optimized code block
public static void updateRopStatistics(RopMethod nonOptRmeth,
RopMethod rmeth)
nonOptRmeth - non-optimized methodrmeth - optimized methodpublic static void dumpStatistics(PrintStream out)
out - non-null; where to output to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||