show time spend during garbage collection in @time macro
Improve formatting according to Stefans suggestion
change order of commands in time macro
Merge pull request #7143 from tknopp/timegc

Show time spent during garbage collection in @time macro (implement #7119)