Class LinuxPerfAsmProfiler

    • Field Detail

      • sampleFrequency

        private final long sampleFrequency
      • optFrequency

        private joptsimple.OptionSpec<java.lang.Long> optFrequency
    • Method Detail

      • addJVMInvokeOptions

        public java.util.Collection<java.lang.String> addJVMInvokeOptions​(BenchmarkParams params)
        Description copied from interface: ExternalProfiler
        Prepend JVM invocation with these commands.
        Parameters:
        params - benchmark parameters used for current launch
        Returns:
        commands to prepend for JVM launch
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: Profiler
        Human-readable one-line description of the profiler.
        Returns:
        description
      • stripEventNames

        protected java.util.List<java.lang.String> stripEventNames​(java.util.List<java.lang.String> events)
        Description copied from class: AbstractPerfAsmProfiler
        Some profilers strip modifiers from event names. To properly match the events in shared code, we need to know what those events were stripped to.
        Overrides:
        stripEventNames in class AbstractPerfAsmProfiler
        Returns:
        stripped events
      • stripPerfEventNames

        static java.util.List<java.lang.String> stripPerfEventNames​(java.util.List<java.lang.String> events)