mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 20:17:05 +00:00
FSCORE-639
This commit is contained in:
1 parent
3b9278710d
commit
88983da46e
2 files changed
+8
No files matched your search
@@ -312,6 +312,13 @@ SWITCH_STANDARD_API(timer_test_function)
|
||||
goto end;
|
||||
}
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Timer Test: samplecount after init: %d\n", timer.samplecount);
|
||||
|
||||
/* Step timer once before testing results below, to get first timestamp as accurate as possible */
|
||||
switch_core_timer_next(&timer);
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Timer Test: samplecount after first step: %d\n", timer.samplecount);
|
||||
|
||||
start = switch_time_ref();
|
||||
for (x = 1; x <= max; x++) {
|
||||
then = switch_time_ref();
|
||||
|
||||
Reference in new issue
Block a user