Class MethodIdRemapper

java.lang.Object
fr.bl.drit.flow.agent.MethodIdRemapper

public final class MethodIdRemapper extends Object
Utilities to read existing method ID mapping, count method invocations from Recorder trace files, and produce an optimized mapping.
  • Method Details

    • optimize

      public static Path optimize(Path inputDir, Path outputDir) throws IOException
      Read existing traces and mapping. Then, optimize the mapping and write it.
      Parameters:
      inputDir - directory containing trace files
      outputDir - directory where optimized mapping will be written
      Returns:
      path to optimized mapping file
      Throws:
      IOException - If an I/O error occurs when reading from inputDir or writing to outputDir.