|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.logging.ProfileTimer
public class ProfileTimer
ProfileTimer is used as an internal profiling class for the whole engine.
| Nested Class Summary | |
|---|---|
static class |
ProfileTimer.ProfileContainer
Contains a thread's worth of profile nodes. |
static class |
ProfileTimer.ProfileNode
|
| Method Summary | |
|---|---|
static java.lang.String |
currentProfileName()
|
static void |
endProfile()
End a profile |
static long |
getResolution()
|
static long |
getTime()
|
static boolean |
isProfilingEnabled()
|
static void |
printLogs()
Print all logs. |
static void |
setProfilingEnabled(boolean enable,
TimerInterface timerInstance)
Enabled/disable profiling |
static void |
startProfile(LogChannel channel,
java.lang.String name)
Start a new profile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setProfilingEnabled(boolean enable,
TimerInterface timerInstance)
enable - timerInstance - A timer used to profilepublic static final boolean isProfilingEnabled()
public static void startProfile(LogChannel channel,
java.lang.String name)
public static java.lang.String currentProfileName()
public static void endProfile()
public static void printLogs()
public static long getTime()
public static long getResolution()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||