public class DefaultGosuProfilingService extends BaseService implements IGosuProfilingService
| Constructor and Description |
|---|
DefaultGosuProfilingService() |
| Modifier and Type | Method and Description |
|---|---|
void |
completed(long startTime,
long endTime,
String path,
String location,
int count,
long waitTime)
This will log a profiling event, note that the start time and end times should have been captured
from the same clock, for example IEntityAccess.getCurrentTime().
|
protected void |
doInit() |
doUninit, init, isInited, uninitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInterfacepublic void completed(long startTime,
long endTime,
String path,
String location,
int count,
long waitTime)
completed in interface IGosuProfilingServicestartTime - the start of the profiled codeendTime - the end of the profiled code (if 0 will use IEntityAccess.getCurrentTime())path - the path that was taken to reach this place (A called B called C could be A->B->C)location - this would be the location (maybe file#linenumb)count - the number of times this time representedwaitTime - any wait times that were consumed during this executionprotected void doInit()
doInit in class BaseServiceCopyright © 2021. All rights reserved.