public class OperationTimeSource
extends java.lang.Object
OperationTime
.Constructor and Description |
---|
OperationTimeSource(java.lang.StackTraceElement location)
Constructs for a stack location.
|
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
int |
getId()
Unique id for this stack location.
|
java.lang.StackTraceElement |
getLocation() |
void |
incrementCount()
Increments the count by 1.
|
public OperationTimeSource(java.lang.StackTraceElement location)
StackTraceElement.hashCode()
. The count is initialized to 1.location
- location on the JVM stack where timing was initiatedpublic int getId()
StackTraceElement.hashCode()
public java.lang.StackTraceElement getLocation()
public int getCount()
public void incrementCount()