Each time you profile code, you first need to set up the profiler to ensure that you find out the sort of information you are interested in. This section gives you details about how to go about this.
The steps that you need to take when profiling code are as follows:
Note: You do not have to adhere strictly to the sequence shown above, but this is the order that you should usually follow.