Class Index | File Index

Classes


Class TimeLine


Defined in: TimeLine.jsm.

Class Summary
Constructor Attributes Constructor Name and Description
 
Time logging module, used to measure startup time of Adblock Plus (development builds only).
Method Summary
Method Attributes Method Name and Description
<static>  
TimeLine.asyncDone(asyncAction)
Called when an async action is done and its time can be logged.
<static>  
TimeLine.asyncEnd(asyncAction)
Called when the application finishes processing of an async action.
<static>  
TimeLine.asyncStart(asyncAction)
Called when the application starts processing of an async action.
<static>  
TimeLine.enter(message)
Called to indicate that application entered a block that needs to be timed.
<static>  
TimeLine.leave(message, asyncAction)
Called when application exited a block that TimeLine.enter() was called for.
<static>  
TimeLine.log(message, _forceDisplay)
Logs an event to console together with the time it took to get there.
Class Detail
TimeLine()
Time logging module, used to measure startup time of Adblock Plus (development builds only).
Method Detail
<static> TimeLine.asyncDone(asyncAction)
Called when an async action is done and its time can be logged.
Parameters:
{String} asyncAction

<static> TimeLine.asyncEnd(asyncAction)
Called when the application finishes processing of an async action.
Parameters:
{String} asyncAction

<static> TimeLine.asyncStart(asyncAction)
Called when the application starts processing of an async action.
Parameters:
{String} asyncAction

<static> TimeLine.enter(message)
Called to indicate that application entered a block that needs to be timed.
Parameters:
{String} message

<static> TimeLine.leave(message, asyncAction)
Called when application exited a block that TimeLine.enter() was called for.
Parameters:
{String} message
message to be logged
{String} asyncAction Optional
identifier of a pending async action

<static> TimeLine.log(message, _forceDisplay)
Logs an event to console together with the time it took to get there.
Parameters:
{String} message
{Boolean} _forceDisplay

Documentation generated by JsDoc Toolkit 2.3.2 on Wed May 09 2012 10:50:20 GMT+0000 (UTC)