Package fr.bl.drit.flow.agent
Class MethodIdRemapper
java.lang.Object
fr.bl.drit.flow.agent.MethodIdRemapper
Utilities to read existing method ID mapping, count method invocations from
Recorder
trace files, and produce an optimized mapping.-
Method Summary
-
Method Details
-
optimize
Read existing traces and mapping. Then, optimize the mapping and write it.- Parameters:
inputDir- directory containing trace filesoutputDir- directory where optimized mapping will be written- Returns:
- path to optimized mapping file
- Throws:
IOException- If an I/O error occurs when reading frominputDiror writing tooutputDir.
-