Package qilin.stat

Class PTAEvaluator

java.lang.Object
qilin.stat.PTAEvaluator
All Implemented Interfaces:
IEvaluator

public class PTAEvaluator extends Object implements IEvaluator
Gather stats on the performance and precision of a PTA run.

Each new run of the PTA will over-write stats

- Wall time (sec) - Memory (max, current) before and after - Reachable methods (context and no-context) - Total reachable casts - Reachable casts that may fail - Call graph edges - Context sensitive call graph edges - Total reachable virtual call sites - Polymorphic virtual call sites (sites with >1 target methods) - Number of pointers (local and global) - Total points to sets size (local and global) context insensitive (convert to alloc site)

  • Field Details

    • runtimeStat

      protected final RuntimeStat runtimeStat
    • exporter

      protected final Exporter exporter
    • pta

      protected final PTA pta
  • Constructor Details

    • PTAEvaluator

      public PTAEvaluator(PTA pta)
  • Method Details

    • begin

      public void begin()
      Note the start of a qilin.pta run.
      Specified by:
      begin in interface IEvaluator
    • end

      public void end()
      Note the end of a qilin.pta run.
      Specified by:
      end in interface IEvaluator
    • toString

      public String toString()
      Overrides:
      toString in class Object