Class TimingCodeInjector

  • All Implemented Interfaces:

    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
        process in class TraceCodeInjector
        component - the component to be processed