mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
compromising on timing code, remove -vm and make it default, make new -heavy-timing for previous default, change tipping-point to work of count of active timers rather than sessions, this should statisfy the droves of 'I wish it worked like 1.0.4 people'
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16853 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -330,7 +330,7 @@ int main(int argc, char *argv[])
|
||||
"\t-hp -- enable high priority settings\n"
|
||||
"\t-vg -- run under valgrind\n"
|
||||
"\t-nosql -- disable internal sql scoreboard\n"
|
||||
"\t-vm -- use possibly more vm-friendly timing code.\n"
|
||||
"\t-heavy-timer -- Heavy Timer, possibly more accurate but at a cost\n"
|
||||
"\t-nonat -- disable auto nat detection\n"
|
||||
"\t-nocal -- disable clock calibration\n"
|
||||
"\t-nort -- disable clock clock_realtime\n"
|
||||
@@ -485,8 +485,8 @@ int main(int argc, char *argv[])
|
||||
known_opt++;
|
||||
}
|
||||
|
||||
if (local_argv[x] && !strcmp(local_argv[x], "-vm")) {
|
||||
flags |= SCF_USE_COND_TIMING;
|
||||
if (local_argv[x] && !strcmp(local_argv[x], "-heavy-timer")) {
|
||||
flags |= SCF_USE_HEAVY_TIMING;
|
||||
known_opt++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user