---
layout: doc
title: system / eval_cost
---
# eval_cost

### NAME

    eval_cost() - returns the evaluation cost remaining

### SYNOPSIS

    int eval_cost()

### DESCRIPTION

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

### SEE ALSO

    catch(3),  error(3),  throw(3),  error_handler(4),   set_eval_limit(3),
    reset_eval_cost()

