public final class CodeStatistics
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
dexRunningDeltaInsns
running sum of the number of dex-form insns (actually code
units) added/removed in SSA form by the optimizer.
|
int |
dexRunningDeltaRegisters
running sum of the number of dex-form registers added/removed in
SSA form by the optimizer.
|
int |
dexRunningTotalInsns
running sum of the total number of dex insns (actually code
units) processed
|
int |
runningDeltaInsns
running sum of the number of insns added/removed in
SSA form by the optimizer
|
int |
runningDeltaRegisters
running sum of the number of registers added/removed in
SSA form by the optimizer
|
int |
runningOriginalBytes
running sum of original class bytecode bytes
|
int |
runningTotalInsns
running sum of the total number of Rop insns processed
|
| Constructor and Description |
|---|
CodeStatistics() |
| Modifier and Type | Method and Description |
|---|---|
void |
dumpStatistics(java.io.PrintStream out)
Prints out the collected statistics.
|
void |
updateDexStatistics(DalvCode nonOptCode,
DalvCode code)
Updates the dex statistics.
|
void |
updateOriginalByteCount(int count)
Updates the number of original bytecode bytes processed.
|
void |
updateRopStatistics(RopMethod nonOptRmeth,
RopMethod rmeth)
Updates the ROP statistics.
|
public int runningDeltaRegisters
public int runningDeltaInsns
public int runningTotalInsns
public int dexRunningDeltaRegisters
public int dexRunningDeltaInsns
public int dexRunningTotalInsns
public int runningOriginalBytes
public void updateOriginalByteCount(int count)
count - >= 0; the number of bytes to addpublic void updateDexStatistics(DalvCode nonOptCode, DalvCode code)
nonOptCode - non-optimized code blockcode - optimized code blockpublic void updateRopStatistics(RopMethod nonOptRmeth, RopMethod rmeth)
nonOptRmeth - non-optimized methodrmeth - optimized methodpublic void dumpStatistics(java.io.PrintStream out)
out - non-null; where to output toCopyright © 2020. All Rights Reserved.