Packageverlocity.components
Classpublic final class verStats
InheritanceverStats Inheritance Component Inheritance Singleton Inheritance Object

Calculates and holds many useful performance stats.



Public Properties
 PropertyDefined By
 InheritedclassName : Object
[read-only] Returns the class name of the component for dictionary registration.
Component
  FPS : int
[read-only] Returns the current frames per second.
verStats
  Memory : Number
[read-only] Returns the curret memory usage.
verStats
  MS : int
[read-only] Returns the MS (script execution time)
verStats
Protected Properties
 PropertyDefined By
 Inheritedstage : Stage
Component
Public Methods
 MethodDefined By
  
verStats(sStage:Stage)
Constructor of the component.
verStats
  
_Destruct():void
[override] Destructor of the component.
verStats
 Inherited
_IsNotUpdating():Boolean
Returns if the component is not updating (paused).
Component
 Inherited
_IsValid():Boolean
Returns if this singleton is active/valid.
Singleton
 Inherited
_SetUpdating(bUpdating:Boolean):void
Pauses/resumes the component updating, if it's pausable.
Component
 Inherited
Updates the component, if possible.
Component
Protected Methods
 MethodDefined By
 Inherited
Called if verConsole is enabled, used to create concommands for the component.
Component
 Inherited
_Update():void
Called each engine tick (verEngine), if the component updates
Component
Property Detail
FPSproperty
FPS:int  [read-only]

Returns the current frames per second.


Implementation
    public function get FPS():int
Memoryproperty 
Memory:Number  [read-only]

Returns the curret memory usage.


Implementation
    public function get Memory():Number
MSproperty 
MS:int  [read-only]

Returns the MS (script execution time)


Implementation
    public function get MS():int
Constructor Detail
verStats()Constructor
public function verStats(sStage:Stage)

Constructor of the component.

Parameters
sStage:Stage
Method Detail
_Destruct()method
override public function _Destruct():void

Destructor of the component.