Package callStack.profiler
Class CProf
- java.lang.Object
-
- callStack.profiler.CProf
-
@CompileStatic public class CProf extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static AtomicBooleanturnTreeProfilingOff
-
Constructor Summary
Constructors Constructor Description CProf()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclear()static ProfileEventgetParent()static ProfileEventgetRootEvent()static voidinitRootEvent(ProfileEvent rootEvent)static StringprettyPrint()static ProfileEventprof(String name, boolean aggregate, groovy.lang.Closure profileMe)static ProfileEventprof(String name, groovy.lang.Closure profileMe)static voidstart(String name)static ProfileEventstop(String name)static ProfileEventstop(String name, boolean aggregate)
-
-
-
Field Detail
-
turnTreeProfilingOff
public static final AtomicBoolean turnTreeProfilingOff
-
-
Method Detail
-
clear
public static void clear()
-
start
public static void start(String name)
-
getParent
public static ProfileEvent getParent()
-
stop
public static ProfileEvent stop(String name)
-
stop
public static ProfileEvent stop(String name, boolean aggregate)
-
prof
public static ProfileEvent prof(String name, groovy.lang.Closure profileMe)
-
prof
public static ProfileEvent prof(String name, boolean aggregate, groovy.lang.Closure profileMe)
-
prettyPrint
public static String prettyPrint()
-
getRootEvent
public static ProfileEvent getRootEvent()
-
initRootEvent
public static void initRootEvent(ProfileEvent rootEvent)
-
-