Class Profiler

java.lang.Object
org.jruby.ir.interpreter.Profiler

public class Profiler extends Object
  • Field Details

    • callerSite

      private static final Profiler.IRCallSite 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

      private static final HashMap<IRScope,Integer> scopeVersionMap
    • scopeThreadPollCounts

      private static HashMap<IRScope,Counter> scopeThreadPollCounts
    • callProfile

      private static HashMap<Long,Profiler.CallSiteProfile> callProfile
    • opStats

      private static HashMap<Operation,Counter> opStats
  • Constructor Details

    • Profiler

      public Profiler()
  • Method Details

    • analyzeProfile

      private static void analyzeProfile()
    • outputProfileStats

      private static void outputProfileStats()
    • initProfiling

      public static Integer initProfiling(IRScope scope)
    • updateCallSite

      public static void updateCallSite(Instr instr, IRScope scope, Integer scopeVersion)
    • clockTick

      public static void clockTick()
    • instrTick

      public static void instrTick(Operation operation)