Show / Hide Table of Contents

Class PluginTickTimer

Generic tick timer for collecting and storing average tick metrics.

Inheritance
System.Object
PluginTickTimerBase
PluginTickTimer
Inherited Members
PluginTickTimerBase.StoreTickMetric(Double, Double)
PluginTickTimerBase.PluginName
Namespace: Eco.Core.Plugins
Assembly: Eco.Core.dll
Syntax
public class PluginTickTimer : PluginTickTimerBase

Constructors

PluginTickTimer(String)

Declaration
public PluginTickTimer(string pluginName)
Parameters
Type Name Description
System.String pluginName

Fields

ExcludeOutliers

Declaration
public bool ExcludeOutliers
Field Value
Type Description
System.Boolean

Sort

Declaration
public bool Sort
Field Value
Type Description
System.Boolean

Properties

AverageTickTime

Declaration
public double AverageTickTime { get; }
Property Value
Type Description
System.Double

IsTicking

Declaration
public bool IsTicking { get; }
Property Value
Type Description
System.Boolean

LastTickTotalTime

Declaration
public double LastTickTotalTime { get; }
Property Value
Type Description
System.Double

Methods

AddTime(String, Single)

Declaration
public void AddTime(string key, float time)
Parameters
Type Name Description
System.String key
System.Single time

BeginTick()

Declaration
public void BeginTick()

Clear()

Declaration
public void Clear()

EndTick()

Declaration
public void EndTick()

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Extension Methods

PropertyChanges.FirePropertyChanged(Object, String)
PropertyChanges.FirePropertyChanged(Object, String, Object, Object)
PropertyChanges.FirePropertyChanged(Object, MemberChangedBeforeAfterEventArgs)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾