Click or drag to resize

PerformanceInfo Class

An object accumulating information about needed time, number of found matches and number of performed rewrites.
Inheritance Hierarchy
SystemObject
  de.unika.ipd.grGen.libGrPerformanceInfo

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public class PerformanceInfo

The PerformanceInfo type exposes the following members.

Constructors
  NameDescription
Public methodPerformanceInfo
Initializes a new instance of the PerformanceInfo class
Top
Properties
  NameDescription
Public propertyTimeNeeded
The accumulated time of rule and sequence applications in seconds since last Reset, as defined by the intervals between Start and Stop.
Top
Methods
  NameDescription
Public methodReset
Resets all accumulated information.
Public methodResetStepsPerThread
Public methodStart
Starts time measurement.
Public methodStop
Stops time measurement and increases the TimeNeeded by the elapsed time between this call and the last call to Start().
Top
Fields
  NameDescription
Public fieldActionProfiles
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)
Public fieldLoopStepsPerThread
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)
Public fieldMatchesFound
Accumulated number of matches found by any rule since last Reset.
Public fieldRewritesPerformed
Accumulated number of rewrites performed by any rule since last Reset. This differs from MatchesFound for test rules, tested rules, and undone rules.
Public fieldSearchSteps
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.)
Public fieldSearchStepsPerThread
Number of search steps carried out for the current/last action call, per thread (in case a multithreaded matcher is/was used).
Top
See Also