cbdebugger

Class Timer

lucee.Component
    extended by cbdebugger.Timer

This is the Timer Debugger Model. It is used to time executions. Facade for request variable

Class Attributes:
  • singleton
  •  
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any debuggerService


    • access = public
    • returntype = any
    • inject = debuggerService@cbdebugger
    true false
    Constructor Summary
    init()
          Constructor.
    Method Summary
    private void addRow(string label, string tickcount)
         Add a new timer row.
    query getTimerScope()
         Returns the entire timer query from the request scope.
    void logTime(string Label, string Tickcount)
         Use this method to add a new timer entry to the timers.
    void start(string Label)
         Start the Timer with label.
    void stop(string Label)
         Stop the timer with label.
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()

    Constructor


    Property Detail

    debuggerService

    property any debuggerService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - debuggerService@cbdebugger
    serializable - true

    Method Detail

    addRow

    private void addRow(string label, string tickcount)

    Add a new timer row.

    Parameters:
    label - The lable of the timer.
    tickcount - The tickcounts of the time.

    getTimerScope

    public query getTimerScope()

    Returns the entire timer query from the request scope.


    logTime

    public void logTime(string Label, string Tickcount)

    Use this method to add a new timer entry to the timers.

    Parameters:
    Label - The lable of the timer.
    Tickcount - The tickcounts of the time.

    start

    public void start(string Label)

    Start the Timer with label.

    Parameters:
    Label

    stop

    public void stop(string Label)

    Stop the timer with label

    Parameters:
    Label