From 3eaa11044c7d3141693bf74071fba98f0dffb23b Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 10 Feb 2026 20:20:02 +0000 Subject: [PATCH] Add `user_data: rawptr` to `time.Benchmark_Options` --- core/time/perf.odin | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/time/perf.odin b/core/time/perf.odin index c2d3890ff..2db1f4034 100644 --- a/core/time/perf.odin +++ b/core/time/perf.odin @@ -194,6 +194,8 @@ Benchmark_Options :: struct { // `benchmark()` procedure will output the average number of megabytes // processed per second, using the `processed` field of this struct. megabytes_per_second: f64, + // For user specified data in the callbacks + user_data: rawptr, } /*