Method | Defined By | ||
---|---|---|---|
Trace(name:String)
Creates a new Trace
| Trace | ||
incrementCounter(named:String, by:int = 1):void | Trace | ||
incrementMetric(named:String, by:int = 1):void
Increments the counter for the provided counter name by 1. | Trace | ||
start():void
Creates an instance of FIRTrace after creating the shared instance of FIRPerformance. | Trace | ||
stop():void
Stops the trace if the trace is active. | Trace |
Trace | () | Constructor |
public function Trace(name:String)
Creates a new Trace
Parametersname:String — The name of the Trace.
|
incrementCounter | () | method |
public function incrementCounter(named:String, by:int = 1):void
Parameters
named:String | |
by:int (default = 1 )
|
incrementMetric | () | method |
public function incrementMetric(named:String, by:int = 1):void
Increments the counter for the provided counter name by 1. If it is a new counter name, the counter value will be initialized to 1. Does nothing if the trace has not been started or has already been stopped.
Parameters
named:String | |
by:int (default = 1 )
|
start | () | method |
public function start():void
Creates an instance of FIRTrace after creating the shared instance of FIRPerformance. The trace will automatically be started on a successful creation of the instance. The |name| of the trace cannot be an empty string.
stop | () | method |
public function stop():void
Stops the trace if the trace is active.