diff --git a/tests/unit/switch_event.c b/tests/unit/switch_event.c index 9b19879d67..8ed612798a 100644 --- a/tests/unit/switch_event.c +++ b/tests/unit/switch_event.c @@ -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(); diff --git a/tests/unit/switch_hash.c b/tests/unit/switch_hash.c index c3997301d5..ec620d0327 100644 --- a/tests/unit/switch_hash.c +++ b/tests/unit/switch_hash.c @@ -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();