PFPerformanceCounter Class |
Each counter registers the execution of a specific code embedded in a performance area (see PFSite.RunCodeInPerformanceArea) during a performance test.
Namespace: Packflow.Core
[SerializableAttribute] [DataContractAttribute] public class PFPerformanceCounter : IDisposable
The PFPerformanceCounter type exposes the following members.
Name | Description | |
---|---|---|
PFPerformanceCounter |
Name | Description | |
---|---|---|
Children |
Gets or sets the children counters.
| |
Description |
Gets or sets the description.
| |
Duration |
Gets the duration, based on the start and end dates.
| |
EndDate |
Gets or sets the code end date.
| |
Name |
Gets or sets the name of the code area.
| |
StartDate |
Gets or sets the code start date.
|
Name | Description | |
---|---|---|
AddChildCounter |
Adds a new child counter.
| |
CloseChildCounter |
Closes the specified child counter.
| |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Calls the Disposing event and sets the EndDate.
| |
Equals |
Compares this object to another object.
(Overrides ObjectEquals(Object).) | |
GetHashCode |
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Disposing |
Occurs when this counter is being disposed, at the end of the code execution.
|
Name | Description | |
---|---|---|
AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |