public class ActorProfiler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
collectInterval |
protected long |
collectionCount |
protected double |
collectionTotalTimeNanos |
protected TimeUnit |
collectTimeUnit |
| Constructor and Description |
|---|
ActorProfiler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanStackTrack(StackTraceElement[] stackTrace) |
void |
clear() |
void |
collect() |
int |
getCollectInterval() |
long |
getCollectionCount() |
double |
getCollectionTotalTimeNanos() |
TimeUnit |
getCollectTimeUnit() |
Map<Object,ProfilerData> |
getProfilerSnapshot()
Interrupts the collection and takes a copy of the collected stats
|
void |
setCollectInterval(int collectInterval) |
void |
setCollectTimeUnit(TimeUnit collectTimeUnit) |
protected int collectInterval
protected TimeUnit collectTimeUnit
protected double collectionTotalTimeNanos
protected long collectionCount
public void collect()
public Map<Object,ProfilerData> getProfilerSnapshot()
protected void cleanStackTrack(StackTraceElement[] stackTrace)
public int getCollectInterval()
public void setCollectInterval(int collectInterval)
public TimeUnit getCollectTimeUnit()
public void setCollectTimeUnit(TimeUnit collectTimeUnit)
public double getCollectionTotalTimeNanos()
public long getCollectionCount()
public void clear()
Copyright © 2019 Electronic Arts Inc. All rights reserved.