Add an option for more detailed profiling