updating Latency Detailed analysis and adding compare function for latency detailed analysis for 2 simulation traces