FS-7820 using a more appropriate function for printing diags
This commit is contained in:
parent
444f81ce9f
commit
4845587be9
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue