Minor comments added to profiler code