|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsleep.runtime.ScriptInstance.ProfilerStatistic
public static class ScriptInstance.ProfilerStatistic
A container for a profile statistic about a sleep function
| Field Summary | |
|---|---|
long |
calls
the total number of times this function has been called |
java.lang.String |
functionName
the name of the function call |
long |
ticks
the total number of ticks consumed by this function call |
| Constructor Summary | |
|---|---|
ScriptInstance.ProfilerStatistic()
|
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
used to compare this statistic to other statistics for the sake of sorting |
java.lang.String |
toString()
returns a string in the form of (total time used in seconds)s (total calls made) @(line number) (function description) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String functionName
public long ticks
public long calls
| Constructor Detail |
|---|
public ScriptInstance.ProfilerStatistic()
| Method Detail |
|---|
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||