From c4d9fdefa0a4fec2ed1059a3b85a77914f68c39e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 17 Nov 2011 18:56:17 -0500 Subject: Add a non-cached case to the PR-tree benchmark. --- libdimension/bench/prtree.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libdimension') 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); -- cgit v1.2.3