summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdimension/bench/prtree.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libdimension/bench/prtree.c b/libdimension/bench/prtree.c
index 6f0908a..b168890 100644
--- a/libdimension/bench/prtree.c
+++ b/libdimension/bench/prtree.c
@@ -106,6 +106,11 @@ main(void)
});
printf("dmnsn_prtree_intersection(): %ld\n", sandglass.grains);
+ sandglass_bench_fine(&sandglass, {
+ dmnsn_prtree_intersection(tree, ray, &intersection, false);
+ });
+ printf("dmnsn_prtree_intersection(nocache): %ld\n", sandglass.grains);
+
/* dmnsn_prtree_inside() */
sandglass_bench_fine(&sandglass, {
dmnsn_prtree_inside(tree, dmnsn_zero);