Skip to main content

eval_cost

Discworld driver help

eval_cost

Name

eval_cost() - returns the evaluation cost remaining

Synopsis

int eval_cost( void );

Description

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

See also

set_eval_limit(), reset_eval_cost()