Correct timing measurement by modifying the scope of the GCTraceTime instance. Reviewed-by: ysr, tamao