# RUNPROF
> [HTML Version](runprof_lit.htm)
_Added July 2023_
**RUNPROF **
**RUNPROF \{switches\}**
RUNPROF generates a run profile log to be analyzed for an overview of the program call structure and performance. The first syntax runs and captures profile data to .rpl. When run without , RUNPROF returns its current status.
**Switches**
| | |
|------|------|
| **Switch** | **Effect ** |
| /ON \{:output file\} | Enable logging. Ddefault file is .rpl. |
| /VERBOSE | With /ON, logs calls not just returns. |
| /OFF | Disable profiling and close output file. |
| /CSV\{:rplspec\} | Create CSV from specified .rpl file. |
| /XL\{:rplspec\} | Create detailed spreadsheet from specified rpl file. |
| /XLSUM\{:rplspec\} | Create summary spreadsheet from specified rpl file. |
| /PROG: | Use with /XL to specify target program. |
| /? | Writes switch listing and usage info to the screen. |
**See Also**
• [MX\_RUNPROF](mx_runprof.htm.md)
**History**
2023 July, A-Shell 6.5.1735: Function added to A-Shell.