aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2026-02-10 20:20:02 +0000
committergingerBill <gingerBill@users.noreply.github.com>2026-02-10 20:20:02 +0000
commit3eaa11044c7d3141693bf74071fba98f0dffb23b (patch)
tree2c3ade992e2b635c968ffa0b255d925a538059a4
parent855bc31350a9a6aa23193c0b4e13f17e6e6f68ea (diff)
Add `user_data: rawptr` to `time.Benchmark_Options`
-rw-r--r--core/time/perf.odin2
1 files changed, 2 insertions, 0 deletions
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,
}
/*