Fix profiling
Fix total time output