xcall MIAMEX, MX_RUNPFOF, opsts {,fspec}
MIAMEX function MX_RUNPFOF (203) generates a run profile log to be analyzed for an overview of the program call structure and performance.
Parameters
opsts (Num) [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 |
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