Trace Class
Packages > @fluidframework/common-utils > Trace
Helper class for tracing performance of events Time measurements are in milliseconds as a floating point with a decimal
Signature:
export declare class Trace
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(startTick) | Constructs a new instance of the Trace class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
lastTick | number | ||
startTick | number |
Methods
Method | Modifiers | Description |
---|---|---|
start() | static |
|
trace() |
Constructors
Trace.(constructor)
Constructs a new instance of the Trace
class
Signature:
protected constructor(startTick: number);
Parameters
Parameter | Type | Description |
---|---|---|
startTick | number |
Properties
lastTick
Signature:
protected lastTick: number;
startTick
Signature:
readonly startTick: number;
Methods
start
Signature:
static start(): Trace;
Returns:
trace
Signature:
trace(): ITraceEvent;
Returns: