jeco.dmm.sim2.util
Class Repair

java.lang.Object
  extended by jeco.dmm.sim2.util.Repair

public class Repair
extends java.lang.Object

A profiling report must contain repeated block ids, coming from the mem address. This class repair this point by assigning new ids to the blocks.

Author:
jlrisco

Field Summary
protected  long currentObjectId
           
protected  java.util.LinkedList<java.lang.String> newProfile
           
protected  java.util.LinkedList<java.lang.String> originalProfile
           
protected  java.lang.String pathToNewProfile
           
protected  java.lang.String pathToOriginalProfile
           
 
Constructor Summary
Repair(java.lang.String pathToOriginalProfile, java.lang.String pathToNewProfile)
           
 
Method Summary
protected  void addTime()
           
protected  void fix()
           
protected  void loadLists()
           
static void main(java.lang.String[] args)
           
protected  void save()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentObjectId

protected long currentObjectId

pathToOriginalProfile

protected java.lang.String pathToOriginalProfile

pathToNewProfile

protected java.lang.String pathToNewProfile

originalProfile

protected java.util.LinkedList<java.lang.String> originalProfile

newProfile

protected java.util.LinkedList<java.lang.String> newProfile
Constructor Detail

Repair

public Repair(java.lang.String pathToOriginalProfile,
              java.lang.String pathToNewProfile)
Method Detail

loadLists

protected void loadLists()
                  throws java.lang.Exception
Throws:
java.lang.Exception

fix

protected void fix()

save

protected void save()
             throws java.lang.Exception
Throws:
java.lang.Exception

addTime

protected void addTime()
                throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)