Removing instrumentation
To remove all instrumentation code from the ThrdDemo program, select Project.Remove Instrumentation, switch to Delphi, and recompile.
Alternatively, you can select Tools.GpProfile - remove instrumentation in Delphi.