Difference between revisions of "PROFILE"
Helen.george (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | Enable profiling for a | + | Enable profiling for a program |
==Syntax== | ==Syntax== | ||
− | PROFILE < | + | PROFILE <prgfile> |
==See Also== | ==See Also== | ||
− | [[CLEAR PROFILE]], [[DEBUG]], [[DISPLAY PROFILE]], [[DO]], [[LIST PROFILE]], [[SET COMPILE]], [[SET DCACHE]], [[SET DEVELOPMENT]], [[SET ICACHE]], [[SET IOLOGGING]], [[SET IOSTATS | + | [[CLEAR PROFILE]], [[DEBUG]], [[DISPLAY PROFILE]], [[DO]], [[LIST PROFILE]], [[SET COMPILE]], [[SET DCACHE]], [[SET DEVELOPMENT]], [[SET ICACHE]], [[SET IOLOGGING]], [[SET IOSTATS]], [[SET NETWORK]], [[SET PROFILE]], [[TIME]] |
==Description== | ==Description== | ||
The PROFILE command is used to invoke Lianja'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. | The PROFILE command is used to invoke Lianja'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. | ||
− | ====< | + | ====<prgfile>==== |
− | The < | + | The <prgfile> is the name of a .prg Lianja/VFP script file. |
− | + | The SET PROFILE command can also be used to enable, disable and control profiling. Please see the [[LIST PROFILE]] command for details of the statistics included in the log. CLEAR PROFILE is used to reset the log. | |
==Example== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
− | profile | + | profile myapp |
− | + | ||
− | + | ||
− | + | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Performance and Optimization]] | [[Category:Performance and Optimization]] | ||
− | |||
[[Category:Lianja VFP Extensions]] | [[Category:Lianja VFP Extensions]] | ||
[[Category:VFP Command Extensions]] | [[Category:VFP Command Extensions]] |
Latest revision as of 07:11, 16 November 2020
Purpose
Enable profiling for a program
Syntax
PROFILE <prgfile>
See Also
CLEAR PROFILE, DEBUG, DISPLAY PROFILE, DO, LIST PROFILE, SET COMPILE, SET DCACHE, SET DEVELOPMENT, SET ICACHE, SET IOLOGGING, SET IOSTATS, SET NETWORK, SET PROFILE, TIME
Description
The PROFILE command is used to invoke Lianja'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.
<prgfile>
The <prgfile> is the name of a .prg Lianja/VFP script file.
The SET PROFILE command can also be used to enable, disable and control profiling. Please see the LIST PROFILE command for details of the statistics included in the log. CLEAR PROFILE is used to reset the log.
Example
profile myapp