If the provided nodes are exhausted before all states from trace have
been matched, the remaining "unmatched" states are returned. This is useful
for extracting samples for an evaluation involving two or more
compilations.
In a successful evaluation, after samples have been extracted from each set
of nodes, the final trace state (the evaluation result) will be
returned in unmatchedStates.
Generated using TypeDoc
The samples successfully extracted from the provided
nodesandtrace.In a successful evaluation, one sample will be produced for each state in
tracewith the exception of the last state (the evaluation result), which will be returned inunmatchedStates.In an unsuccessful evaluation, the
tracestates will be exhausted before allnodeshave been matched. In this case, all matched samples are returned, and the final state (the evaluation result) is dropped. This can be detected by checking if the length ofunmatchedStatesis0.