tl_benchmark_compilation

Function tl_benchmark_compilation 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn tl_benchmark_compilation( expr: *const c_char, iterations: usize, ) -> *mut TLBenchmarkResult
Expand description

Benchmark compilation of an expression

§Parameters

  • expr: The logical expression as a C string
  • iterations: Number of iterations to run

§Returns

A pointer to TLBenchmarkResult that must be freed with tl_free_benchmark_result

§Safety

The caller must ensure that expr is a valid null-terminated string.