Show / Hide Table of Contents

Class PluginTickTimerBase

Base class for all PluginTickTimer implementations.

Inheritance
System.Object
PluginTickTimerBase
PluginTickTimer
PluginTickTimer<T>
Namespace: Eco.Core.Plugins
Assembly: Eco.Core.dll
Syntax
public class PluginTickTimerBase : Object

Constructors

PluginTickTimerBase(String)

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

Properties

PluginName

The name of the plugin we are currently monitoring.

Declaration
public string PluginName { get; }
Property Value
Type Description
System.String

Methods

StoreTickMetric(Double, Double)

Posts our metrics to ElasticSearch under our configured plugin name.

Declaration
protected void StoreTickMetric(double averageTime, double totalTime)
Parameters
Type Name Description
System.Double averageTime

The total average time of the tick.

System.Double totalTime

The total tick time.

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