]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7820 using a more appropriate function for printing diags
authorWilliam King <william.king@quentustech.com>
Wed, 7 Oct 2015 17:35:28 +0000 (10:35 -0700)
committerWilliam King <william.king@quentustech.com>
Wed, 7 Oct 2015 17:35:46 +0000 (10:35 -0700)
tests/unit/switch_event.c
tests/unit/switch_hash.c

index 9b19879d6705fb8787b195d86cb18c713c8bf325..8ed612798a85f656fbcf8a2a1e10070f11d04208 100644 (file)
@@ -97,7 +97,7 @@ int main () {
   micro_total = end_ts - start_ts;
   micro_per = micro_total / (double) loops;
   rate_per_sec = 1000000 / micro_per;
-  note("switch_event Total %ldus / %d loops, %.2f us per loop, %.0f loops per second\n", 
+  diag("switch_event Total %ldus / %d loops, %.2f us per loop, %.0f loops per second\n", 
        micro_total, loops, micro_per, rate_per_sec);
 
   switch_core_destroy();
index c3997301d517bf119bb1098d17985e7487685cbb..ec620d032792cf4aa9bd741abb2d1e09a8fff7d5 100644 (file)
@@ -132,7 +132,7 @@ int main () {
   micro_total = end_ts - start_ts;
   micro_per = micro_total / (double) loops;
   rate_per_sec = 1000000 / micro_per;
-  note("switch_hash Total %ldus / %d loops, %.2f us per loop, %.0f loops per second\n", 
+  diag("switch_hash Total %ldus / %d loops, %.2f us per loop, %.0f loops per second\n", 
        micro_total, loops, micro_per, rate_per_sec);
 
   switch_core_destroy();