Class TimingCodeInjector

  • All Implemented Interfaces:
    CodeInjector

    public class TimingCodeInjector
    extends TraceCodeInjector
    A code injector that wraps the body of a template or function in a TraceExpression, which causes the TimingTraceListener to be notified at the start and end of the function/template evaluation
    • Constructor Detail

      • TimingCodeInjector

        public TimingCodeInjector()
    • Method Detail

      • process

        public void process​(TraceableComponent component)
        Description copied from interface: CodeInjector
        Process a component such as a function, template, or global variable. The default implementation does nothing.
        Specified by:
        process in interface CodeInjector
        Overrides:
        process in class TraceCodeInjector
        Parameters:
        component - the component to be processed