GODPAPER | All Packages | All Classes | Index | Frames No Frames |
ProcessDiagnostic

Package | org.generalrelativity.thread.diagnostic
Class | public class ProcessDiagnostic
Inheritance | ProcessDiagnostic Object
Subclasses | GreenThreadDiagnostic

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

Public Properties

| Property | Defined 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

| Method | Defined By
--- | --- | ---
|  | ProcessDiagnostic() | ProcessDiagnostic
|  | recordCycle(allocation:int):void | ProcessDiagnostic
|  | recordError():void | ProcessDiagnostic
|  | recordPreCycle():void | ProcessDiagnostic

Property Detail

allocationDifferentials | property

`public var allocationDifferentials:Vector.<Number>`

averageDifferential | property |

`averageDifferential:Number` [read-only]

Implementation
`public function get averageDifferential():Number`

meanTime | property |

`meanTime:Number` [read-only]

Implementation
`public function get meanTime():Number`

numCycles | property |

`public var numCycles:int`

numErrors | property |

`public var numErrors:int`

peak | property |

`peak:int` [read-only]

Implementation
`public function get peak():int`

process | property |

`public var process:IRunnable`

times | property |

`public var times:Vector.<Number>`

totalTime | property |

`public var totalTime:int`

valley | property |

`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`

Thu Jan 16 2014, 01:11 PM +08:00