Scheduler or setup time rule

Description

The operation scheduler rule (run time) and setup time rule specified on an operation will be called to determine the run/setup time.

Synopsis


#include "factor.h"

double myrule(est, ldp, jsp, root)

int   est;   /* Estimate flag.      */
LOAD  *ldp;   /* Pointer to the load.   */
JOBSTEP *jsp;   /* Pointer to the operation. */
void  *root;  /* Expression root.     */

Returns

The run or setup time for the operation.

IInstall

The following function called from ucini1 installs the rule as rule 39:


jsdfst (39, myrule);
Note: If the estimate flag is set, the load might not actually be at the operation that the run/setup time is being computed for. If the run/setup time rule relies on current conditions, it should return an appropriate estimate, since the conditions before the load actually does arrive at the operation might change.
Note: The input parameter root may be used to evaluate the run/setup time expression by calling function evalexp.
Note: Setup time rules are used to evaluate setup time for operations. Minimize setup selection rules often call this rule for setup duration computation with the estimate flag equal to 0 to get an accurate value.
Note: Function jscmst may be used to call standard system rules.