Interface IPerformanceCounter
Interface for a performance counter
[Obsolete("Interface was not intended for public use and will be removed in the next version.")]
[ObsoleteSince(28, 3)]
public interface IPerformanceCounter
- Extension Methods
Methods
Clear()
Clears global counter.
void Clear()
ClearLastLog()
Clears last log date time.
void ClearLastLog()
Decrement()
Decrements global counter.
void Decrement()
GetLastLog()
Gets time of last log.
DateTime GetLastLog()
Returns
- DateTime
GetValue(bool)
Gets value of global counter.
long GetValue(bool updateLastLog = false)
Parameters
updateLastLog
boolIndicates if date time of last log value should be updated.
Returns
- long
Increment()
Increments global counter.
void Increment()
Reset()
Resets global values.
void Reset()
SetValue(long)
Sets raw value of global counter.
void SetValue(long value)
Parameters
value
longValue