Add GC cycle measurer.