Table of Contents

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

long

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

int

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

int

NodeId

Id of the node with which these metrics are associated.

int NodeId { get; }

Property Value

int

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

long

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

int

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

int

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

long

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

int

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

int

Methods

Reset()

Resets cumulative metrics associated with this node.

void Reset()