Packageorg.generalrelativity.thread.diagnostic
Classpublic class ProcessDiagnostic
InheritanceProcessDiagnostic Inheritance Object
Subclasses GreenThreadDiagnostic

Offers some simple means of diagnosing overall performance of an IRunnable instance.



Public Properties
 PropertyDefined By
  allocationDifferentials : Vector.<Number>
ProcessDiagnostic
  averageDifferential : Number
[read-only]
ProcessDiagnostic
  meanTime : Number
[read-only]
ProcessDiagnostic
  numCycles : int
ProcessDiagnostic
  numErrors : int
ProcessDiagnostic
  peak : int
[read-only]
ProcessDiagnostic
  process : IRunnable
ProcessDiagnostic
  times : Vector.<Number>
ProcessDiagnostic
  totalTime : int
ProcessDiagnostic
  valley : int
[read-only]
ProcessDiagnostic
Public Methods
 MethodDefined By
  
ProcessDiagnostic
  
recordCycle(allocation:int):void
ProcessDiagnostic
  
ProcessDiagnostic
  
ProcessDiagnostic
Property Detail
allocationDifferentialsproperty
public var allocationDifferentials:Vector.<Number>

averageDifferentialproperty 
averageDifferential:Number  [read-only]


Implementation
    public function get averageDifferential():Number
meanTimeproperty 
meanTime:Number  [read-only]


Implementation
    public function get meanTime():Number
numCyclesproperty 
public var numCycles:int

numErrorsproperty 
public var numErrors:int

peakproperty 
peak:int  [read-only]


Implementation
    public function get peak():int
processproperty 
public var process:IRunnable

timesproperty 
public var times:Vector.<Number>

totalTimeproperty 
public var totalTime:int

valleyproperty 
valley:int  [read-only]


Implementation
    public function get valley():int
Constructor Detail
ProcessDiagnostic()Constructor
public function ProcessDiagnostic()



Method Detail
recordCycle()method
public function recordCycle(allocation:int):void

Parameters

allocation:int

recordError()method 
public function recordError():void

recordPreCycle()method 
public function recordPreCycle():void