Show / Hide Table of Contents

Class ExecutionStopwatch

Stopwatch to measure CPU time. Works only on Windows.

Inheritance
object
ExecutionStopwatch
Implements
IExecutionStopwatch
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Diagnostics
Assembly: SoCore.dll
Syntax
public class ExecutionStopwatch : IExecutionStopwatch

Constructors

ExecutionStopwatch()

Stopwatch to measure CPU time. Works only on Windows.

Declaration
public ExecutionStopwatch()

Properties

Elapsed

Stopwatch to measure CPU time. Works only on Windows.

Declaration
public TimeSpan Elapsed { get; }
Property Value
Type Description
TimeSpan

IsRunning

Stopwatch to measure CPU time. Works only on Windows.

Declaration
public bool IsRunning { get; }
Property Value
Type Description
bool

Methods

Reset()

Stopwatch to measure CPU time. Works only on Windows.

Declaration
public void Reset()

Start()

Stopwatch to measure CPU time. Works only on Windows.

Declaration
public void Start()

StartNew()

Stopwatch to measure CPU time. Works only on Windows.

Declaration
public static ExecutionStopwatch StartNew()
Returns
Type Description
ExecutionStopwatch

Stop()

Stopwatch to measure CPU time. Works only on Windows.

Declaration
public void Stop()

Implements

IExecutionStopwatch

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top