Show / Hide Table of Contents

Class PerformanceStatistics

A single object of this type exists for every script and gives access to performance statistics.

Inheritance
System.Object
PerformanceStatistics
Inherited Members
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: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class PerformanceStatistics

Properties

Enabled

Gets or sets a value indicating whether this collection of performance stats is enabled.

Declaration
public bool Enabled { get; set; }
Property Value
System.Boolean

true if enabled; otherwise, false.

Methods

GetPerformanceCounterResult(PerformanceCounter)

Gets the result of the specified performance counter .

Declaration
public PerformanceResult GetPerformanceCounterResult(PerformanceCounter pc)
Parameters
PerformanceCounter pc

The PerformanceCounter.

Returns
PerformanceResult

GetPerformanceLog()

Gets a string with a complete performance log.

Declaration
public string GetPerformanceLog()
Returns
System.String

Back to top Built by Itinero, MIT licensed.