Added option for cpu profiling