Instrumenting the target

Next, you will select the procedures you want to instrument. Core of the ThrdDemo program is contained in three threads: TBubbleSort, TQuickSort, and TSelectionSort. Each does the important part of the job in its Sort method. If you want to measure their respective times you must instrument these methods.

To do so, click <all classes> in the Classes list and then check the procedures TBubbleSort.Sort, TQuickSort.Sort, and TSelectionSort.Sort.

Those checks have no immediate effect on the program. If you quit GpProfile at that step, your program will not be instrumented. You will finish the instrumentation in the next step.