From f0b1b62e72282ff01059f8c9a1385dc34a77c272 Mon Sep 17 00:00:00 2001 From: Timo Kokkonen Date: Sat, 30 Jul 2011 16:37:54 +0300 Subject: [PATCH] main.c: Print tree rebalance events Signed-off-by: Timo Kokkonen --- main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index b42f234..7f157ee 100644 --- a/main.c +++ b/main.c @@ -305,10 +305,11 @@ static void loop(SDL_Surface *screen, int num_of_planets, double total_mass, printf(" \rfps: %.2f, steps/s: %.2f, planets: %d" ", scale %.2f, zoom %.2f, step %ld, visible %d," - " depth %ld, c:%ld", + " depth %ld, re:%ld, rn:%ld", last_fps, last_sps, planets, status.time_scale, camera.zoom, step_count, visible_planets, - planet_root->tree.depth, planet_root->tree.children); + planet_root->tree.depth, + quadtree_rebalance_events, quadtree_rebalanced_nodes); fflush(stdout); -- 2.45.0