dont calibrate clock when timerfd enabled
This commit is contained in:
parent
cb9cb2b35e
commit
26f5ebd47d
|
@ -1637,6 +1637,9 @@ static void switch_load_core_config(const char *file)
|
|||
switch_time_set_monotonic(switch_true(var));
|
||||
} else if (!strcasecmp(var, "enable-softtimer-timerfd")) {
|
||||
switch_time_set_timerfd(switch_true(var));
|
||||
if (switch_true(val)) {
|
||||
switch_clear_flag((&runtime), SCF_CALIBRATE_CLOCK);
|
||||
}
|
||||
} else if (!strcasecmp(var, "enable-clock-nanosleep")) {
|
||||
switch_time_set_nanosleep(switch_true(var));
|
||||
} else if (!strcasecmp(var, "enable-cond-yield")) {
|
||||
|
|
Loading…
Reference in New Issue