Home
last modified time | relevance | path

Searched refs:to_async (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/criterion/benches/benchmarks/
Dasync_measurement_overhead.rs5 group.bench_function("iter", |b| b.to_async(FuturesExecutor).iter(|| async { 1 })); in some_benchmark()
7 b.to_async(FuturesExecutor) in some_benchmark()
11 b.to_async(FuturesExecutor) in some_benchmark()
15 b.to_async(FuturesExecutor) in some_benchmark()
19 b.to_async(FuturesExecutor) in some_benchmark()
23 b.to_async(FuturesExecutor) in some_benchmark()
27 b.to_async(FuturesExecutor) in some_benchmark()
31 b.to_async(FuturesExecutor) in some_benchmark()
35 b.to_async(FuturesExecutor) in some_benchmark()
39 b.to_async(FuturesExecutor).iter_batched_ref( in some_benchmark()
/aosp_15_r20/external/rust/android-crates-io/crates/criterion/src/
Dbencher.rs383 pub fn to_async<'b, A: AsyncExecutor>(&'b mut self, runner: A) -> AsyncBencher<'a, 'b, A, M> { in to_async() method