Performance |
public class PerformanceInfo
The PerformanceInfo type exposes the following members.
| Name | Description | |
|---|---|---|
| PerformanceInfo | Initializes a new instance of the PerformanceInfo class |
| Name | Description | |
|---|---|---|
| TimeNeeded | The accumulated time of rule and sequence applications in seconds since last Reset, as defined by the intervals between Start and Stop. |
| Name | Description | |
|---|---|---|
| Reset | Resets all accumulated information. | |
| ResetStepsPerThread | ||
| Start | Starts time measurement. | |
| Stop | Stops time measurement and increases the TimeNeeded by the elapsed time between this call and the last call to Start(). |
| Name | Description | |
|---|---|---|
| ActionProfiles | Stores a profile per action (given by name, that gives the average for the loop and search steps needed to achieve the goal or finally fail) | |
| LoopStepsPerThread | Number of loop steps of the first loop executed for the current/last action call, per thread (in case a multithreaded matcher is/was used) | |
| MatchesFound | Accumulated number of matches found by any rule since last Reset. | |
| RewritesPerformed | Accumulated number of rewrites performed by any rule since last Reset. This differs from MatchesFound for test rules, tested rules, and undone rules. | |
| SearchSteps | Accumulated number of search steps carried out since last Reset. (Number of bindings of a graph element to a pattern element, but bindings where only one choice is available don't count into this.) Only incremented if gathering of profiling information was requested ("-profile", "new set profile on"). (The per-thread steps are added here after each action call when the threads completed.) | |
| SearchStepsPerThread | Number of search steps carried out for the current/last action call, per thread (in case a multithreaded matcher is/was used). |