Package | sekati.profiler |
Class | public final class PerformanceMonitor |
Property | Defined by | ||
---|---|---|---|
$ : PerformanceMonitor
[static][read-only]
Shorthand singleton accessor getter
| PerformanceMonitor | ||
averageFps : Number [read-only]
The average FPS.
| PerformanceMonitor | ||
averageMem : Number [read-only]
The average RAM.
| PerformanceMonitor | ||
currentFps : Number [read-only]
The current FPS.
| PerformanceMonitor | ||
currentMem : Number [read-only]
The current global flashplayer memory usage.
| PerformanceMonitor | ||
displaying : Boolean [read-only]
Determines whether the monitor is being displayed.
| PerformanceMonitor | ||
fpsList : Array | PerformanceMonitor | ||
history : int = 60 | PerformanceMonitor | ||
intervalTime : Number [read-only]
The interval at which the monitor is running.
| PerformanceMonitor | ||
maxFps : Number | PerformanceMonitor | ||
maxMem : Number | PerformanceMonitor | ||
memList : Array | PerformanceMonitor | ||
minFps : Number | PerformanceMonitor | ||
minMem : Number | PerformanceMonitor | ||
running : Boolean [read-only]
Determines whether the monitor is running or not.
| PerformanceMonitor | ||
runningTime : Number [read-only]
The amount of time the monitor has been running.
| PerformanceMonitor |
Method | Defined by | ||
---|---|---|---|
PerformanceMonitor($:SingletonEnforcer = null)
PerformanceMonitor Singleton Constructor
| PerformanceMonitor | ||
[static]
Singleton Accessor
| PerformanceMonitor | ||
hide():void
Hide the graph UI.
| PerformanceMonitor | ||
show():void
Show the graph UI.
| PerformanceMonitor | ||
start():void
Start monitoring.
| PerformanceMonitor | ||
stop():void
Stop monitoring.
| PerformanceMonitor | ||
toggleDisplay():void
Toggle the graph UI visibility.
| PerformanceMonitor | ||
updateDisplay():void
Update the display & monitoring values.
| PerformanceMonitor | ||
updateMinMax():void
Update the monitoring values only.
| PerformanceMonitor |
$ | property |
$:PerformanceMonitor
[read-only]Shorthand singleton accessor getter
Implementation public static function get $():PerformanceMonitor
averageFps | property |
averageFps:Number
[read-only]The average FPS.
Implementation public function get averageFps():Number
averageMem | property |
averageMem:Number
[read-only]The average RAM.
Implementation public function get averageMem():Number
currentFps | property |
currentFps:Number
[read-only]The current FPS.
Implementation public function get currentFps():Number
currentMem | property |
currentMem:Number
[read-only]The current global flashplayer memory usage.
Implementation public function get currentMem():Number
displaying | property |
displaying:Boolean
[read-only]Determines whether the monitor is being displayed.
Implementation public function get displaying():Boolean
fpsList | property |
public var fpsList:Array
history | property |
public var history:int = 60
intervalTime | property |
intervalTime:Number
[read-only]The interval at which the monitor is running.
Implementation public function get intervalTime():Number
maxFps | property |
public var maxFps:Number
maxMem | property |
public var maxMem:Number
memList | property |
public var memList:Array
minFps | property |
public var minFps:Number
minMem | property |
public var minMem:Number
running | property |
running:Boolean
[read-only]Determines whether the monitor is running or not.
Implementation public function get running():Boolean
runningTime | property |
runningTime:Number
[read-only]The amount of time the monitor has been running.
Implementation public function get runningTime():Number
PerformanceMonitor | () | constructor |
public function PerformanceMonitor($:SingletonEnforcer = null)
PerformanceMonitor Singleton Constructor
Parameters$:SingletonEnforcer (default = null ) — SingletonEnforcer - internal to the AS file; the param prevents external instantiation without error.
|
PerformanceMonitor.$.show(); // display the graphical UI.
getInstance | () | method |
public static function getInstance():PerformanceMonitor
Singleton Accessor
ReturnsPerformanceMonitor —
PerformanceMonitor
|
hide | () | method |
public function hide():void
Hide the graph UI.
show | () | method |
public function show():void
Show the graph UI.
start | () | method |
public function start():void
Start monitoring.
stop | () | method |
public function stop():void
Stop monitoring.
toggleDisplay | () | method |
public function toggleDisplay():void
Toggle the graph UI visibility.
updateDisplay | () | method |
public function updateDisplay():void
Update the display & monitoring values.
updateMinMax | () | method |
public function updateMinMax():void
Update the monitoring values only.