Interface INodeMetrics
- Namespace
- NRules.Diagnostics
- Assembly
- NRules.dll
Performance metrics associated with a given node in the Rete network.
public interface INodeMetrics
Properties
ElementCount
Number of elements stored in the node.
If a node does not store elements, this value is null
.
int? ElementCount { get; }
Property Value
- int?
InsertDurationMilliseconds
Cumulative number of milliseconds spent in this node handling the elements passed through it during the propagation of inserted facts. This time is counted since the last reset or since the creation of the session. This duration is exclusive of any time spent propagating facts through the downstream nodes.
long InsertDurationMilliseconds { get; }
Property Value
InsertInputCount
Cumulative number of elements that entered this node during the propagation of inserted facts. This number is counted since the last reset or since the creation of the session.
int InsertInputCount { get; }
Property Value
InsertOutputCount
Cumulative number of elements that exited this node during the propagation of inserted facts. This number is counted since the last reset or since the creation of the session.
int InsertOutputCount { get; }
Property Value
NodeId
Id of the node with which these metrics are associated.
int NodeId { get; }
Property Value
RetractDurationMilliseconds
Cumulative number of milliseconds spent in this node handling the elements passed through it during the propagation of retracted facts. This time is counted since the last reset or since the creation of the session. This duration is exclusive of any time spent propagating facts through the downstream nodes.
long RetractDurationMilliseconds { get; }
Property Value
RetractInputCount
Cumulative number of elements that entered this node during the propagation of retracted facts. This number is counted since the last reset or since the creation of the session.
int RetractInputCount { get; }
Property Value
RetractOutputCount
Cumulative number of elements that exited this node during the propagation of retracted facts. This number is counted since the last reset or since the creation of the session.
int RetractOutputCount { get; }
Property Value
UpdateDurationMilliseconds
Cumulative number of milliseconds spent in this node handling the elements passed through it during the propagation of updated facts. This time is counted since the last reset or since the creation of the session. This duration is exclusive of any time spent propagating facts through the downstream nodes.
long UpdateDurationMilliseconds { get; }
Property Value
UpdateInputCount
Cumulative number of elements that entered this node during the propagation of updated facts. This number is counted since the last reset or since the creation of the session.
int UpdateInputCount { get; }
Property Value
UpdateOutputCount
Cumulative number of elements that exited this node during the propagation of updated facts. This number is counted since the last reset or since the creation of the session.
int UpdateOutputCount { get; }
Property Value
Methods
Reset()
Resets cumulative metrics associated with this node.
void Reset()