Search Results for

    Show / Hide Table of Contents

    Class RateTimer

    A rate timer for calculating the frequency of something.

    Inheritance
    System.Object
    Timer
    RateTimer
    Inherited Members
    Timer.Watch
    Timer.Tag
    Timer.Destroy()
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: FM.LiveSwitch.Diagnostics
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class RateTimer : Timer

    Properties

    HasData

    Gets whether this timer has data or not.

    Declaration
    public override bool HasData { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    Timer.HasData

    Methods

    AddTick()

    Adds a sample.

    Declaration
    public void AddTick()

    GetStats()

    Gets the current stats for this timer.

    Declaration
    public override string GetStats()
    Returns
    Type Description
    System.String
    Overrides
    Timer.GetStats()
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0