C# Class metrics.Core.CLRProfiler

A wrapper around available .NET performance counters
Show file Open project: ucdavis/metrics-net

Public Methods

Method Description
ClearCounters ( ) : void

Clears all lazily-initialized performance counters from memory

DumpTrackedThreads ( ) : string

Dumps all alive threads created via the NamedThreadFactory

Private Methods

Method Description
CLRProfiler ( ) : System
GetOrInstallCounter ( string property, string name, string category, string instance = null ) : PerformanceCounter
GetStackFramesForThread ( Thread thread ) : IEnumerable

Method Details

ClearCounters() public static method

Clears all lazily-initialized performance counters from memory
public static ClearCounters ( ) : void
return void

DumpTrackedThreads() public static method

Dumps all alive threads created via the NamedThreadFactory
public static DumpTrackedThreads ( ) : string
return string