Class PerfTracker
Inherited Members
Namespace: Code.Library.AspNetCore
Assembly: Code.Library.AspNetCore.dll
Syntax
public class PerfTracker
Constructors
| Improve this Doc View SourcePerfTracker(string)
Declaration
public PerfTracker(string whatsBeingTracked)
Parameters
| Type | Name | Description |
|---|---|---|
| string | whatsBeingTracked |
PerfTracker(string, string, string)
Creates a new PerfTracker object to track performance. The constructor starts the clock ticking.
Declaration
public PerfTracker(string whatsBeingTracked, string infoName, string infoValue)
Parameters
| Type | Name | Description |
|---|---|---|
| string | whatsBeingTracked | The name of the thing you're tracking performance for -- like API method name, procname, or whatever. |
| string | infoName | The name of an additional value you want to capture |
| string | infoValue | The value of the additional info you're capturing (like parameters for a method) |
Methods
| Improve this Doc View SourceStop()
Declaration
public void Stop()