92 Commits

Author SHA1 Message Date
Jeff Lenk
30d2e7fda2 FSCORE-626 Add alternate timing method support for Windows XP and 2003 - must be conditionally compiled(default is original timing) 2010-07-15 09:03:14 -05:00
Anthony Minessale
95665f0096 JANITOR-4 2010-04-21 10:11:13 -05:00
root
23936edd47 FSCORE-578 2010-03-31 12:40:06 -05:00
Anthony Minessale
b1ddb70cf1 add fsctl min_idle_cpu and min-idle-cpu feature to refuse calls after the system fallse below a certian percentage of idle cpu
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16962 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-10 20:21:34 +00:00
Anthony Minessale
66da758d26 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16880 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-03 16:23:22 +00:00
Anthony Minessale
26eb2ea8f1 "I wan't my two dollars!!, I mean CPU percentage points!"
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16869 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-02 20:57:55 +00:00
Anthony Minessale
717308a3cf 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
2010-03-01 19:25:27 +00:00
Anthony Minessale
ae2354be24 small timer test tweak for horribly clocked boxen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16725 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-22 22:42:29 +00:00
Anthony Minessale
e3e7ad8fbe disable cpu timer affinity by default but make it still possible via config and fix stray constant in tipping_point
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16679 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-17 19:50:25 +00:00
Anthony Minessale
886e1ddb4d run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Anthony Minessale
07de75014a reverse logic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16475 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-23 06:17:09 +00:00
Carlos J. Talbot
cffd8676db Need a int to switch_interval_time_t cast for 32 bit compiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16457 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-22 14:55:33 +00:00
Anthony Minessale
429ade697e small tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16456 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-22 04:04:34 +00:00
Anthony Minessale
4cb029e45f small tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16455 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-22 03:58:16 +00:00
Anthony Minessale
1248e6c644 dont let value dip below 0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16409 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-19 18:23:18 +00:00
Anthony Minessale
da29b01195 few new command line opts -vm for conditonal timer, -nocal to skip timer calibration and -nort to turn off clock_realtime fam of functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16324 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-15 21:09:51 +00:00
Brian West
21234215f0 finally fix private hold
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16315 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-15 00:31:43 +00:00
Anthony Minessale
abd116829e switch to conditional broadcast mode on slow kernels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-14 16:02:46 +00:00
Jeff Lenk
b88a016962 Fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-14 04:01:32 +00:00
Anthony Minessale
11d8868b4a timer calibration tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16294 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 22:36:13 +00:00
Michael Jerris
4fa2b2f487 fix compile error
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 22:13:11 +00:00
Anthony Minessale
d314f25424 update timer calibration
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 21:07:39 +00:00
Anthony Minessale
e5cadc5196 MODAPP-387
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16278 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 18:02:42 +00:00
Michael Jerris
ea5c0c2111 attempt to properly check if we can use CPU_SET with sched_setaffinity because some older libc had gnu extensions in the definitions of CPU_SET which we do not allow (FSBUILD-226)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-12 18:31:13 +00:00
Anthony Minessale
35c53d5b1a fix power of 10 in cps counter
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16144 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-04 21:32:10 +00:00
Michael Jerris
2c105f6ccf fix build errors one windows and correct var types (FSBUILD-225)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-01 19:35:56 +00:00
Anthony Minessale
f97846f492 more timer changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16098 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-30 20:55:04 +00:00
Michael Jerris
648da02c1d revert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16095 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-30 17:49:40 +00:00
Anthony Minessale
3e96cf8929 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16094 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-30 15:52:11 +00:00
Anthony Minessale
8f05bb7939 add core param for controling timer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16093 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-30 15:47:31 +00:00
Anthony Minessale
f80a9bd02a trade some max call count for more accurate timing in full media situations, hint: use 30ms ptime for drastic reduction in resources
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16081 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-29 23:21:20 +00:00
Anthony Minessale
aa42215fb6 FSCORE-472
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15213 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:33:55 +00:00
Anthony Minessale
df7637f687 change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Anthony Minessale
7392fa5807 try to improve autoflush and other silly audio glitches from edge cases and help FSCORE-416
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-10 00:46:24 +00:00
Anthony Minessale
b5f08ca5ce add show distinct_channels (mix of show channels and show calls)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13944 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-25 00:03:41 +00:00
Anthony Minessale
35b2575b32 increase cond_next time to 10ms
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13727 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 17:26:15 +00:00
Michael Jerris
21159328e7 add configure checks for tm->tm_gmtoff and tm->tm_zone (FSBUILD-160)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13362 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 18:19:30 +00:00
Anthony Minessale
1db0d9f66b more_calls=true
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13296 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-14 00:57:52 +00:00
Anthony Minessale
9441425ef0 MODENDP-215
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-28 03:58:37 +00:00
Anthony Minessale
6cdb09ddb5 auto-sync idle timers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13161 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-27 14:14:42 +00:00
Brian West
1908898362 FSCORE-297 tony fixed this via telephone blind.. its not ME.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 00:06:52 +00:00
Mathieu Rene
6aca60f545 Add log message when the softtimer thread exits
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12365 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 01:52:25 +00:00
Anthony Minessale
0c9541e985 FSCORE-297
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12361 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-02 23:55:00 +00:00
Anthony Minessale
5d6fe797d1 add some more thread joins to avoid races
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-02 15:45:00 +00:00
Ken Rice
ea63ec17a1 whitespace cleanup (tabs not spaces)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12301 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:28:26 +00:00
Brian West
babb2f83f5 update copyright
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Anthony Minessale
36daaffb47 MODAPP-211
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11741 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 00:31:58 +00:00
Brian West
ae220d3341 update email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Anthony Minessale
0463541d61 change low res sleep func api names
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-25 21:23:07 +00:00
Anthony Minessale
ef81877139 no timers with 0 interval
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-19 16:53:51 +00:00