The Allocation profiler includes a number of options that work at runtime and define the specifics of profiler functioning.
You can view and modify these options in the following dialogs –
In the Profiler Options dialog that is displayed when you run the profiler (see Setting Profiler Options Before the Run).
In the Options dialog. To invoke it, select Options > Options from AQTime’s main menu. Then choose Profilers > Allocation > Allocation Profiler from the tree on the left.In the Options dialog. To invoke it, select Tools > Options from Visual Studio’s main menu. Then choose AQTime > Profilers > Allocation > Allocation Profiler from the tree on the left.In the Options dialog. To invoke it, select AQTime > Options from Embarcadero RAD Studio’s main menu. Then choose Profilers > Allocation > Allocation Profiler from the tree on the left.
You can also invoke this dialog by pressing Configure Current Profiler on the Standard toolbar when the profiler is selected.
The options are –
Check system memory allocations - If this option is selected, AQTime traces calls to system memory management functions. Otherwise, it only traces calls to functions of the runtime memory manager. See Tracing System Memory Management Functions.
Check memory bounds - If this option is checked, AQTime traces whether the profiled application writes to memory below or above the allocated bounds of a memory block and whether it releases the allocated memory correctly. For more information, see Checking Bounds of Memory Blocks.
Note that if the Check memory bounds option is enabled then the Clear Results command is disabled. This means you cannot remove the accumulated profiling results during profiling.
Fill released memory blocks - Specifies whether to overwrite the data stored in the released blocks. The actual data is replaced with the
0xDD values. This helps to reveal situations when the data is still read from the block that has already been freed. See the Tracing Attempts to Access Released Memory topic for details.
Thread model - Specifies which thread model AQTime uses to trace the call stack for functions that allocate memory blocks. For more information on supported values, see Profiling Multiple Threads and Profiling COM Logical Threads.
The Allocation profiler also includes a number of options that affect the profiler result display. They are located on the Profiler toolbar (by default, it is displayed at the top of the Report panel)(by default, it is displayed at the top of the Report panel). For information on them, see Profiler Toolbar - Allocation Profiler Items.