Show / Hide Table of Contents

Class PerformanceCounterValue

A single value for a performance counter.

Inheritance
System.Object
PerformanceCounterValue
Namespace: Eco.Shared.Tools
Assembly: Eco.Shared.dll
Syntax
public sealed class PerformanceCounterValue : ValueType

Properties

Context

Declaration
public object Context { get; set; }
Property Value
Type Description
System.Object

Duration

Declaration
public TimeSpan Duration { get; set; }
Property Value
Type Description
System.TimeSpan

Name

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

ThreadId

Declaration
public int ThreadId { get; set; }
Property Value
Type Description
System.Int32

ThreadName

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

Time

Declaration
public TimeSpan Time { get; set; }
Property Value
Type Description
System.TimeSpan

Methods

Init(TimeSpan, TimeSpan, Int32, String, String, Object)

Declaration
public void Init(TimeSpan time, TimeSpan duration, int threadId, string threadName, string name, object context)
Parameters
Type Name Description
System.TimeSpan time
System.TimeSpan duration
System.Int32 threadId
System.String threadName
System.String name
System.Object context

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾