Please enable JavaScript to view this site.

A-Shell Reference

Reviewed and revised April 2024

xcall MIAMEX, MX_RUNPROF, opsts {,fspec}

MX_RUNPROF (MIAMEX 203) generates a run profile log to be analyzed for an overview of the program call structure and performance.

Parameters

opsts  (Signed Int)  [in/out]

specifies the opcode and return status:

Opcode

Returned Status

Value

Function

Value

Function

0

Check profiling status

0

disabled

1

enabled (+flags)

1

Enable profiling and
output to fspec

2

enabled

-2

already enabled

-3

cannot open file

2

Disable profilling

3

now disabled

0

was disabled

 

fspec  (String)  [in]

destination filespec; replaced if already exists; default is <pid>.rpl

See Also

History

2023 July, A-Shell 6.5.1735:  Function added to A-Shell.