ExecutionTimer Members | Glimpse API Documentation |
The ExecutionTimer type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
ExecutionTimer |
Initializes a new instance of the ExecutionTimer class.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Point |
Returns a special TimerResult which represents a single point in time.
| |
Start |
Starts the timer instance.
| |
Stop |
Stops the timer instance.
| |
Time(Action) |
Times the specified action. This will start and stop the timer either side
of the action that is executed.
| |
Time T (Func T ) |
Times the specified function. This will start and stop the timer either side
of the function that is executed.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
GetTypeOrNull |
Returns the value of GetType if value is not null.
(Defined by ObjectExtensions.) | |
ToStringOrDefault |
Returns the value of ToString if value is not null.
(Defined by ObjectExtensions.) |
Properties
Name | Description | |
---|---|---|
RequestStart |
Gets the request start date and time.
|
See Also