From dfaf896adb74ddf7271c9eee7330f2e3e009345b Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sat, 15 Dec 2012 07:27:50 +1030 Subject: [PATCH] tal: fix skipping tal in samba-allocs benchmark. Signed-off-by: Rusty Russell --- ccan/tal/benchmark/samba-allocs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccan/tal/benchmark/samba-allocs.c b/ccan/tal/benchmark/samba-allocs.c index 074276d8..853b1fb2 100644 --- a/ccan/tal/benchmark/samba-allocs.c +++ b/ccan/tal/benchmark/samba-allocs.c @@ -340,7 +340,6 @@ after_talloc: printf("Tal time: %lluns\n", time_to_nsec(alloc_time)); printf("Tal_free time: %lluns\n", time_to_nsec(free_time)); -after_tal: free_time.tv_sec = free_time.tv_nsec = 0; for (i = 0; i < LOOPS; i++) { do_tals(root); @@ -351,6 +350,7 @@ after_tal: } free_time = time_divide(free_time, i); printf("Single tal_free time: %lluns\n", time_to_nsec(free_time)); +after_tal: return 0; } -- 2.39.2