Click or drag to resize
DigitalRuneHierarchicalProfilerNode Class
Defines a node in the hierarchical measurements of a HierarchicalProfiler.
Inheritance Hierarchy
SystemObject
  DigitalRune.DiagnosticsHierarchicalProfilerNode

Namespace: DigitalRune.Diagnostics
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public class HierarchicalProfilerNode : INamedObject

The HierarchicalProfilerNode type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyAverage
Gets the average (arithmetic mean) time of all non-recursive calls.
Public propertyChildren
Gets the child nodes.
Public propertyCount
Gets how often this node was called.
Public propertyMaximum
Gets the maximum time of all non-recursive calls.
Public propertyMinimum
Gets the minimum time of all non-recursive calls.
Public propertyName
Gets the name of this node.
Public propertyParent
Gets the parent node.
Public propertyProfiler
Gets the profiler.
Public propertySum
Gets the total accumulated time of this node.
Top
Remarks

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.

See Also