EnableProfiling method to enable or disable the profiling status. A call to this method has the same effect as checking or unchecking the Enable\Disable Profiling button in AQtime.
|An expression, variable or parameter that specifies a reference to an AQtime object
The method is applied to the following object:
The method has the following parameter:
If Value is True, the profiling will be enabled, if Value is False, the profiling will be disabled.
True, if the profiling status has been changed successfully, false - otherwise.
You can change the profiling status during the profiler run. For instance, you can do this to profile only the needed parts of the application and to reduce the number of profiling results.
Note that under certain conditions, for instance, when the Allocation profiler is working, the profiling status cannot be off. It is automatically enabled.
To view an example, see the Integration With AQtime Using the AQtimeIntegration and AQtime Objects help topic.