Public Member Functions | |
PerSecondCounterWrapper () | |
PerSecondCounterWrapper (PerformanceCounter totalCounter, PerformanceCounter perSecondCounter) | |
void | Increment () |
void | Decrement () |
void | IncrementBy (int inc) |
object | CreateCounter (PerfCounterAttribute counterAttribute, PerfCounterCategoryAttribute categoryAttribute, string instanceName, bool touch) |
Create counte instance by type and params. More... | |
CounterCreationDataCollection | GetCounterCreationData (PerfCounterAttribute attribute) |
Returns counter counter creation data based on PerfCounterAttribute More... | |
object | CreateFakeCounter () |
Create simple fake(null) counter that are not backed up by any real windows counters in case we don't have permissions or disabled real counters More... | |
|
inline |
|
inline |
|
inline |
Create counte instance by type and params.
counterAttribute | |
categoryAttribute | |
instanceName | |
touch | Probe created counter with PerformanceCounter.NextValue so counter instance will be created in netcore |
Implements Photon.SocketServer.Diagnostics.Counters.ICounterProvider.
|
inline |
Create simple fake(null) counter that are not backed up by any real windows counters in case we don't have permissions or disabled real counters
Implements Photon.SocketServer.Diagnostics.Counters.ICounterProvider.
|
inline |
|
inline |
Returns counter counter creation data based on PerfCounterAttribute
attribute |
Implements Photon.SocketServer.Diagnostics.Counters.ICounterProvider.
|
inline |
|
inline |