Table of Contents

Class PerfInterval

Namespace
Ranorex.Core.Tracing
Assembly
Ranorex.Core.dll

Represents a performance timing interval.

public class PerfInterval : IPerfInterval
Inheritance
PerfInterval
Implements
Inherited Members

Properties

ElapsedMs

Number of milliseconds elapsed since the interval was started.

public int ElapsedMs { get; }

Property Value

int

EventStart

The start timestamp of the interval.

public DateTimeOffset EventStart { get; }

Property Value

DateTimeOffset

RelatedActivity

The Activity related to this interval.

public Activity RelatedActivity { get; }

Property Value

Activity

Methods

Restart()

Restarts the interval timer and rebinds the current activity.

public void Restart()

Resume()

Resumes the interval timer, but does not rebind the current activity.

public void Resume()

Start()

Creates and starts a new interval.

public static PerfInterval Start()

Returns

PerfInterval

The interval.

Stop()

Stops the interval timer.

public void Stop()