Constructor
new LatencyRecord(latencyContext)
Creates a latency record for the specified context.
Both timelines are initialized to zero for every
metric defined by the context.
Parameters:
| Name | Type | Description |
|---|---|---|
latencyContext |
* | Context defining the available latency metrics. Must provide size(), indexOf(), and name. |
Throws:
-
If latencyContext is null.
- Type
- TypeError
Classes
Members
latencyContext :string
Name of the latency context associated with
this record.
Type:
- string
startTimeLine :Array.<number>
Start timestamps for each latency metric.
Array positions correspond to the metric ordering
defined by the latency context.
Type:
- Array.<number>
stopTimeLine :Array.<number>
Stop timestamps for each latency metric.
Array positions correspond to the metric ordering
defined by the latency context.
Type:
- Array.<number>