HierarchicalProfilerNode Class |
Namespace: DigitalRune.Diagnostics
The HierarchicalProfilerNode type exposes the following members.
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.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Average |
Gets the average (arithmetic mean) time of all non-recursive calls.
| |
Children |
Gets the child nodes.
| |
Count |
Gets how often this node was called.
| |
Maximum |
Gets the maximum time of all non-recursive calls.
| |
Minimum |
Gets the minimum time of all non-recursive calls.
| |
Name |
Gets the name of this node.
| |
Parent |
Gets the parent node.
| |
Profiler |
Gets the profiler.
| |
Sum |
Gets the total accumulated time of this node.
|
A HierarchicalProfilerNode stores the measured times for a method or a measured code section. It has a Name and is usually called like the method that is profiled. It links to a Parent node, which is the method or code section from which the code was called. It has Children which represent profiled methods or code sections that are called by the code of this node.
Recursive calls: If this node is used to measure a recursive method, following conventions apply: Count counts all calls including recursive calls. Minimum, Average and Maximum ignore recursions and measure the time of the one call including recursions. That means, if the method "Foo" is called once, and it calls itself recursively, this counts as one call for the computation of Minimum/Average/Maximum.