Add printing of cumulative time spent in semantic passes