11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PECS (<strong><strong>Form</strong>s</strong> Runtime)<br />

Description<br />

Runs a form with Performance Event Collection Services (PECS) enabled.<br />

PECS is a performance measurement tool you can use to perform the following tasks:<br />

• Measure resource usage (CPU time per event or transactions processed per hour) of <strong>Form</strong> <strong>Builder</strong> or<br />

application-specific events<br />

• Locate performance problems (elapsed time per event)<br />

• Measure object coverage (whether a specific object, such as a trigger, alert, or window, is visited<br />

during test execution)<br />

• Measure line-by-line coverage (for PL/SQL code in triggers and procedures)<br />

The PECS option can be set to ON, OFF, or FULL:<br />

For object coverage, set PECS=ON<br />

• For object coverage and line coverage:<br />

Compile with Debug=ON<br />

Run with PECS=FULL<br />

The default is PECS=OFF<br />

To use PECS on non-Windows platforms, you must use the debug runform executable:<br />

ifdbg60 module=myform userid=scott/tiger PECS=ON<br />

Default: OFF<br />

PECS (<strong><strong>Form</strong>s</strong> Runtime) examples<br />

494<br />

ifdbg60 module=myform userid=scott/tiger PECS=ON

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!