KCMS Test Suite User's Guide

OPTIMIZE:

OPTIMIZE: Command Description

OPTIMIZE: functionality corresponds to the KcsOptimizeProfile() call. When this command is interpreted, the KcsOptimizeProfile() function is executed and the status is reported back from the -kcmstest command display to the test log.

OPTIMIZE: Command Syntax Example

OPTIMIZE:Reference=simulate; Optimization=Speed;

OPTIMIZE: Keywords and Values

Table 3-16 presents the OPTIMIZE: command keywords and their descriptions.

Table 3-16 OPTIMIZE: Command Keyword Values

Keyword 

Description 

Reference=

Is the name that was assigned when the profiles were loaded, created, or connected. 

Optimization=

Sets the optimization type. This keyword has the values shown in Table 3-17. In the table, the keyword value is followed by the corresponding value set in the optimizationType parameter passed to the KcsOptimizeProfile() function. Multiple optimizations are logically OR'd together.

Callbacks=

Causes kcmstest to call the KcsSetCallback() function. Callbacks are registered in the log file.

XStatus=

The default expected status is KcsSuccess. If the script command is expected to complete successfully, the XStatus= keyword is not required. In cases where a script command is expected to return a non- success status, the XStatus= is followed by the corresponding expected, non-success status in hexadecimal format.

Table 3-17 presents the OPTIMIZE: command Optimization= keyword values.

Table 3-17 OPTIMIZE: Command Optimization= Keyword Values

Value 

Optimization Type Set 

None

KcsOptNone

Accuracy

KcsOptAccuracy

Speed

KcsOptSpeed

Size

KcsOptSize