public static class ScriptInstance.ProfilerStatistic
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ProfilerStatistic() |
Modifier and Type | Method and Description |
---|---|
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)
|
public java.lang.String functionName
public long ticks
public long calls
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public java.lang.String toString()
toString
in class java.lang.Object