|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsoot.Timer
public class Timer
Utility class providing a timer. Used for profiling various phases of Sootification.
| Constructor Summary | |
|---|---|
Timer()
Creates a new timer. |
|
Timer(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. |
void |
start()
Starts the given timer. |
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 |
| Constructor Detail |
|---|
public Timer(String name)
public Timer()
| Method Detail |
|---|
public void start()
public String toString()
toString in class Objectpublic void end()
public long getTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||