public final class CodeStatistics extends Object
| Modifier and Type | Field and Description |
|---|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
public static void updateOriginalByteCount(int count)
count - >= 0; the number of bytes to addpublic static void updateDexStatistics(DalvCode nonOptCode, DalvCode code)
nonOptCode - non-optimized code blockcode - optimized code blockpublic static void updateRopStatistics(RopMethod nonOptRmeth, RopMethod rmeth)
nonOptRmeth - non-optimized methodrmeth - optimized methodpublic static void dumpStatistics(PrintStream out)
out - non-null; where to output toCopyright © 2016. All Rights Reserved.