tal: fix skipping tal in samba-allocs benchmark.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 14 Dec 2012 20:57:50 +0000 (07:27 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 14 Dec 2012 20:57:50 +0000 (07:27 +1030)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/tal/benchmark/samba-allocs.c

index 074276d8cdcbe5368fc564b4276811d07135bb1c..853b1fb207b6d471742e4710d91756c0cbb25185 100644 (file)
@@ -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;
 }