Search Results for

    Show / Hide Table of Contents

    Class ManagedStopwatch

    Managed stopwatch.

    Inheritance
    System.Object
    ManagedStopwatch
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class ManagedStopwatch : object

    Constructors

    ManagedStopwatch()

    Initializes a new instance of the ManagedStopwatch class.

    Declaration
    public ManagedStopwatch()

    Properties

    ElapsedMilliseconds

    Gets the total time measured by the stopwatch in milliseconds.

    Declaration
    public virtual long ElapsedMilliseconds { get; }
    Property Value
    Type Description
    System.Int64

    ElapsedTicks

    Gets the total time measured by the stopwatch in ticks.

    Declaration
    public virtual long ElapsedTicks { get; }
    Property Value
    Type Description
    System.Int64

    Methods

    GetTimestamp()

    Gets the current system timestamp in ticks.

    Declaration
    public static long GetTimestamp()
    Returns
    Type Description
    System.Int64

    Restart()

    Restarts the stopwatch.

    Declaration
    public virtual void Restart()

    Start()

    Starts the stopwatch.

    Declaration
    public virtual void Start()

    Stop()

    Stops the stopwatch.

    Declaration
    public virtual void Stop()
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0