Added GC tracking to profiler