Skip to content 

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

List of constructors for this class
Constructor Modifiers Description
(constructor)(startTick) Constructs a new instance of the Trace class

Properties

List of properties for this class
Property Modifiers Type Description
lastTick number
startTick number

Methods

List of methods on this class
Method Modifiers Description
start() static
trace()

Constructors

Trace.(constructor)

Constructs a new instance of the Trace class

Signature:

protected constructor(startTick: number);

Parameters

List of 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

trace

Signature:

trace(): ITraceEvent;

Returns:

ITraceEvent