153 Commits

Author SHA1 Message Date
Anthony Minessale
2ae48e9c17 FS-8215 #resolve [MacOSX nanosleep is not super accurate] 2015-09-23 18:00:44 -05:00
Brian West
c6ccf1c513 FS-7761 [core] fix shutdown races running api commands during shutdown 2015-07-02 10:08:54 -05:00
Anthony Minessale
fc1ff9209e FS-7508: timing update 2015-05-28 12:47:12 -05:00
Anthony Minessale
0dfd08bc86 FS-7066 FS-7253 FS-7231 #comment wait, there's more.... need this too, let's never change this code again.... 2015-02-18 20:41:07 -06:00
Anthony Minessale
d6777e3aa1 FS-7066 FS-7253 FS-7231 #comment this should do it #resolve 2015-02-18 19:35:39 -06:00
Anthony Minessale
b320c525c2 FS-7066 FS-7253 FS-7231 #this part should be right 2015-02-18 02:55:14 -06:00
Anthony Minessale
68db163aad FS-7066 FS-7253 FS-7231 #comment not so fast, revert 2015-02-18 02:35:22 -06:00
Anthony Minessale
acce943b5d FS-7066 FS-7253 FS-7231 #comment remove TFD_TIMER_ABSTIME as it seems to cause some load issues on some machines 2015-02-18 02:15:34 -06:00
Anthony Minessale
69a7b5fd11 FS-7066 FS-7253 FS-7231 #comment revert some of patch 2015-02-13 20:12:38 -06:00
Anthony Minessale
326289caf9 FS-7083 #resolve #comment this should do it. The problem is linked to side-effects from the read thread being delayed by writing to the file handle. It was so much worse on mp3 because the shout encoder blocks while its churning the data and delays it more. This patch adds a dedicated thread for writing to the file and the channel_variable RECORD_USE_THREAD=false will disable it and sync may still be maintained at the cost of dropping more data from the audio signal. 2014-12-20 00:25:59 -06:00
Jeff Lenk
39fa0b9664 trivial fix for last commit 2014-12-12 10:02:03 -06:00
Jeff Lenk
ea149be9d8 windows force datatype conversion on uint64_t to switch_size_t for recent change. maybe we should change the structure to be uint64_t as well? 2014-12-12 09:40:52 -06:00
Anthony Minessale
4bcf1d888a use cached time to save cpu 2014-12-08 22:57:22 -06:00
Michael Jerris
62a2e10e41 remove hack breaking some cross compile builds. if you really need this, you should be using new enough glibc anyways 2014-11-19 16:06:42 -05:00
Anthony Minessale
df423b88d6 improve timerfd implementation to be more accurate 2014-11-18 17:14:04 -06:00
Anthony Minessale
878a04715a revert 2014-11-18 17:00:44 -06:00
Anthony Minessale
da6043f353 improve timerfd implementation to be more accurate 2014-11-18 16:59:58 -06:00
Anthony Minessale
804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Jeff Lenk
bb53175526 FS-6010 --resolve 2013-11-29 22:16:49 -06:00
Seven Du
50857cc82d fix build on Mac 2013-11-16 09:59:00 +08:00
Anthony Minessale
34ebd6fb59 replace symbol 2013-11-16 03:34:17 +05:00
Anthony Minessale
d6bb35ad3c add soft timer support for fd per timer use enable-softtimer-timerfd=broadcast in switch.conf.xml for orig behaviour 2013-11-16 01:37:16 +05:00
Ken Rice
7fb4369932 peak sessions step 1 2013-07-20 20:11:46 -05:00
Ken Rice
5660f90509 add peak SPS for last 5 minutes 2013-07-19 22:40:59 -05:00
Anthony Minessale
c510f3f52e add peak sps to stats and a command to reset it 2013-07-19 15:16:42 -05:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Anthony Minessale
fe40523ec0 FS-4646 --resolve thanks for the update 2013-01-22 10:01:52 -06:00
Anthony Minessale
1b258b607b FS-5010 --resolve 2013-01-10 09:34:11 -06:00
Anthony Minessale
35f98c1350 FS-4841 --resolve we will remove this, it clearly is not helping 2012-11-29 13:02:30 -06:00
Anthony Minessale
8733a2c895 some priority queuing tweaks for performance 2012-10-01 11:47:26 -05:00
Steve Underwood
ea58df8456 Fixed Cairo's entry in the timezone files
Changed mod_spandsp so it tries to resolve timezone names like Asia/HongKong
to a POSIX timezone descriptor string, like other parts of FreeSwitch do.
2012-08-22 22:25:54 +08:00
Jeff Lenk
939a26764f FS-4387 --resolve 2012-07-04 23:06:32 -05:00
Anthony Minessale
b1ae97466d add enable-use-system-time param to switch.conf.xml use at your own risk, someone with windows could verify it works ok 2012-07-03 17:15:14 -05:00
Anthony Minessale
b4bd30816e FS-4290 --resolve 2012-06-05 12:30:01 -05:00
Anthony Minessale
bbdcd33bde performance tweaks for sip message parsing and event system 2012-05-17 20:10:53 -05:00
Anthony Minessale
5c75d4cf5b FS-4220 --resolve i refactored this into a general cross platform function and use it everywhere else we try to set affinity 2012-05-15 08:31:42 -05:00
Anthony Minessale
8664dc6d5a some perfomance tweaks 2012-05-03 16:31:21 -05:00
Ken Rice
c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Jeff Lenk
4276680181 FS-3782 --resolve soft timer 2012-03-14 10:08:41 -05:00
Jeff Lenk
24288832b1 FS-2216 partial with renaming 2012-01-08 14:19:16 -06:00
Jeff Lenk
8ca4efea75 FS-3709 --resolve 2011-11-21 09:53:27 -06:00
Anthony Minessale
2094f2d33b add fsctl sync_clock_when_idle so you can sync the clock but have it not do it till there are 0 calls 2011-10-12 14:55:32 -05:00
Anthony Minessale
25c725c292 last commit for --enable-timerfd-wrapper (autoheadache) 2011-06-30 18:30:24 -05:00
Anthony Minessale
306b332d47 add --enable-timerfd-wrapper to wrap timefd syscalls for platforms with the right kernel and wrong libc 2011-06-30 14:36:52 -05:00
Jeff Lenk
5ef8c49728 fix trivial compiler warning 2011-04-29 15:01:07 -05:00
Anthony Minessale
741707297f typo 2011-04-29 09:35:46 -05:00
Anthony Minessale
16e3d1fa25 default timer to run slower and increase as needed, Run the timer at 20ms by default and drop down as needed unless you set 1m-timer=true which was previous default 2011-04-29 11:09:14 -05:00
Anthony Minessale
73279f01bf FS-3166 --resolve 2011-04-22 16:43:29 -05:00
Anthony Minessale
0b51aca321 enable optimal defaults on linux kernels that can support newer features. 2011-04-18 11:17:33 +00:00