Skip to main content

eval_cost

Discworld driver help

eval_cost

Name

max_eval_cost() - return the maximum evaluation cost

Synopsis

int max_eval_cost( void );

Description

max_eval_cost() returns the number of instructions that can be executed before the driver decides it is in an infinite loop.

See also

set_eval_limit(), reset_eval_cost()