Function clingo_sys::clingo_statistics_value_get [] [src]

pub unsafe extern "C" fn clingo_statistics_value_get(
    statistics: *const clingo_statistics_t,
    key: u64,
    value: *mut f64
) -> bool

Get the value of the given entry.

@pre The @link clingo_statistics_type() type@endlink of the entry must be @ref ::clingo_statistics_type_value.

Parameters:

  • statistics - the target statistics
  • key - the key
  • value - the resulting value

Returns whether the call was successful