Corrected results for line and memory profilers