Equinox Online Help - Language Reference - A to Z
ProfileReset |
|
---|---|
Applies to | |
Syntax | ProfileReset [Flags] |
Action | [Statement] Resets the profiling system |
Scope | Usable anywhere |
Notes | The trace history is cleared and any extra resources used by the profiler's previous run are freed. The log file is renamed using the time stamp of the last log update, or deleted. If the optional Flags parameter is supplied as zero, the profiler is disabled. If the parameter is not supplied or is less than zero, the profiler is re-initialised using the ProfileApplication ini key setting. Otherwise Flags may be a combination of the following values:
The system workarea SysError is set to a non-zero value if an error occurs, otherwise zero. |
Category | Profiling |
See Also | ProfileEvent, ProfileEventStart, ProfileEventStop, ProfileMessage, ProfileLog, ProfilePause, ProfileResume, ProfileStatus |
Example | This example disables the profiler ProfileReset 0 This example restore the ini file settings ProfileReset -1 |