Show / Hide Table of Contents

Class PluginTickTimer<T>

Typedef variant of the PluginTickTimer class for monitoring and collecting tick averages.

Inheritance
System.Object
PluginTickTimerBase
PluginTickTimer<T>
Inherited Members
PluginTickTimerBase.StoreTickMetric(Double, Double)
PluginTickTimerBase.PluginName
Namespace: Eco.Core.Plugins
Assembly: Eco.Core.dll
Syntax
public class PluginTickTimer<T> : PluginTickTimerBase where T : ITickSample, new()
Type Parameters
Name Description
T

Plugin type to monitor

Constructors

PluginTickTimer(String)

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

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

BeginTick()

Declaration
public T BeginTick()
Returns
Type Description
T

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
☀
☾