From 5ebea1031b1fe0a591c1f74ab63524d4afec6763 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Fri, 28 Jul 2023 17:49:23 -0700 Subject: modules/*: use til_fragmenter_slice_per_cpu_x16() where applicable Mechanical change switching til_fragmenter_slice_per_cpu() users over to til_fragmenter_slice_per_cpu_x16(), except sparkler where it's quite detrimental to performance. --- src/modules/drizzle/drizzle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/drizzle') diff --git a/src/modules/drizzle/drizzle.c b/src/modules/drizzle/drizzle.c index 83ba334..d85d904 100644 --- a/src/modules/drizzle/drizzle.c +++ b/src/modules/drizzle/drizzle.c @@ -133,7 +133,7 @@ static void drizzle_prepare_frame(til_module_context_t *context, til_stream_t *s if (!til_stream_tap_context(stream, context, NULL, &ctxt->taps.rainfall)) *ctxt->rainfall = RAINFALL_CNT; - *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu }; + *res_frame_plan = (til_frame_plan_t){ .fragmenter = til_fragmenter_slice_per_cpu_x16 }; for (unsigned i = 0; i < (unsigned)*ctxt->rainfall; i++) { int x = rand_r(&ctxt->til_module_context.seed) % (PUDDLE_SIZE - 1); -- cgit v1.2.3