|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soot.Timer
Utility class providing a timer. Used for profiling various phases of Sootification.
Field Summary | |
static Timer |
forcedGarbageCollectionTimer
Timer for garbage collection. |
Constructor Summary | |
Timer()
Creates a new timer. |
|
Timer(java.lang.String name)
Creates a new timer with the given name. |
Method Summary | |
void |
end()
Stops the current timer. |
long |
getTime()
Returns the sum of the intervals start()-end() of the current timer. |
static void |
setSubtractingGC(boolean value)
Enables or disables the GC timer. |
void |
start()
Starts the given timer. |
java.lang.String |
toString()
Returns the name of the current timer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static Timer forcedGarbageCollectionTimer
Constructor Detail |
public Timer(java.lang.String name)
public Timer()
Method Detail |
public static void setSubtractingGC(boolean value)
public void start()
public java.lang.String toString()
toString
in class java.lang.Object
public void end()
public long getTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |