aether_trace_stats

Function aether_trace_stats 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn aether_trace_stats( handle: *mut AetherHandle, stats_json: *mut *mut c_char, ) -> c_int
Expand description

Get trace statistics as JSON

§Parameters

  • handle: Aether engine handle
  • stats_json: Output parameter (must be freed with aether_free_string)

§Returns

  • 0 (Success) if stats were retrieved
  • Non-zero error code if failed

§Safety

  • handle must be a valid pointer to an AetherHandle created by aether_new or aether_new_with_permissions
  • stats_json must be a valid pointer to a *mut c_char that will be set to point to the result