Package org.jruby.ir.interpreter
Class Profiler
java.lang.Object
org.jruby.ir.interpreter.Profiler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Profiler.IRCallSiteprivate static HashMap<Long,Profiler.CallSiteProfile> private static intprivate static intprivate static intprivate static intprivate static int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidstatic voidstatic IntegerinitProfiling(IRScope scope) static voidprivate static voidstatic voidupdateCallSite(Instr instr, IRScope scope, Integer scopeVersion)
-
Field Details
-
callerSite
-
inlineCount
private static int inlineCount -
globalThreadPollCount
private static int globalThreadPollCount -
codeModificationsCount
private static int codeModificationsCount -
numCyclesWithNoModifications
private static int numCyclesWithNoModifications -
versionCount
private static int versionCount -
scopeVersionMap
-
scopeThreadPollCounts
-
callProfile
-
opStats
-
-
Constructor Details
-
Profiler
public Profiler()
-
-
Method Details
-
analyzeProfile
private static void analyzeProfile() -
outputProfileStats
private static void outputProfileStats() -
initProfiling
-
updateCallSite
-
clockTick
public static void clockTick() -
instrTick
-