background image
<< threshold level | Line Formatting >>
<< threshold level | Line Formatting >>

Function Splitting

Creating Vuser Scripts
458
Configuring VuGen
C Compiler
VuGen generates a script with LRD functions. You can compile the script using
VuGen's code interpreter, or a standard C compiler.
To compile the script using a standard compiler, set CompileC to YES. The default
value is NO.
Function Splitting
To optimize compilation time, VuGen allows you to set the script size. If the script's
Action
section exceeds the maximum size, the function is split into several sections,
with no section greater than MaxFunctionLines.
The default value is five hundred lines. VuGen generates a function prototype in
vdf.h for each of the "continued" functions when the GenActionsContProto variable
is set to YES. You do not have to set this variable when using the VuGen interpreter.
The default value for GenActionsContProto is NO.
CompileC=NO/YES
MaxFunctionLines=500 (a positive integer value)
GenActionsContProto=NO/YES