Difference between revisions of "SET PROFILE"
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
==Class== | ==Class== | ||
Performance and Optimization | Performance and Optimization | ||
Line 20: | Line 18: | ||
==Description== | ==Description== | ||
+ | The SET PROFILE command controls Recital's profiling functionality. Profiling produces input/output, locking and procedure call statistics for a particular application or part of an application. This information can be used for analysis to enable application optimization and general performance tuning. The profiling information can be output to the screen, a file or a printer using the LIST PROFILE and DISPLAY PROFILE commands. | ||
+ | ====TO <command>, <id> [, <description>]==== | ||
+ | SET PROFILE TO <command>, <id> [, <description>] is used to start, stop or update the profiling statistics. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 35: | Line 36: | ||
|<description>||optional descriptive comment | |<description>||optional descriptive comment | ||
|} | |} | ||
+ | |||
+ | |||
+ | ====ON | OFF==== | ||
+ | SET PROFILE ON | OFF enables or disables profiling. When SET PROFILE is OFF, no statistics are logged. | ||
+ | |||
+ | |||
+ | The PROFILE command can also be used to log statistics for a particular command or an entire program or application. CLEAR PROFILE is used to reset the log. | ||
Line 40: | Line 48: | ||
<code lang="recital"> | <code lang="recital"> | ||
set profile on | set profile on | ||
− | set profile to "start", "myapp" | + | set profile to "start", "myapp", "Start of update section" |
+ | //... | ||
</code> | </code> | ||
+ | |||
==Products== | ==Products== | ||
+ | Recital Database Server, Recital Mirage Server, Recital Terminal Developer | ||
[[Category:Documentation]] | [[Category:Documentation]] |
Revision as of 10:46, 25 June 2009
Contents
Class
Performance and Optimization
Purpose
Control profiling
Syntax
SET PROFILE TO <command>, <id> [, <description>]
SET PROFILE ON | OFF
See Also
CLEAR PROFILE, DEBUG, DISPLAY PROFILE, DO, LIST PROFILE, PROFILE, SET CLUSTERING, SET COMPILE, SET DCACHE, SET DEVELOPMENT, SET ICACHE, SET IOLOGGING, SET IOSTATS, SET LOCKTYPE, SET REPLICATION, SET SYSLOGGING
Description
The SET PROFILE command controls Recital's profiling functionality. Profiling produces input/output, locking and procedure call statistics for a particular application or part of an application. This information can be used for analysis to enable application optimization and general performance tuning. The profiling information can be output to the screen, a file or a printer using the LIST PROFILE and DISPLAY PROFILE commands.
TO <command>, <id> [, <description>]
SET PROFILE TO <command>, <id> [, <description>] is used to start, stop or update the profiling statistics.
Keyword | Description |
---|---|
<command> | "start" - start a new profile for this <id>
"stop" - stop the profile for this <id> "update" - update an existing profile for this <id> |
<id> | a unique reference for the profile of up to 10 characters. |
<description> | optional descriptive comment |
ON | OFF
SET PROFILE ON | OFF enables or disables profiling. When SET PROFILE is OFF, no statistics are logged.
The PROFILE command can also be used to log statistics for a particular command or an entire program or application. CLEAR PROFILE is used to reset the log.
Example
set profile on set profile to "start", "myapp", "Start of update section" //...
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer