add sps count to the status output

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5804 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2007-10-04 21:35:50 +00:00
1 parent 3711220ae5
commit 6d091447b1
5 files changed
+14 -2

No files matched your search

+3
View File
@@ -657,6 +657,9 @@ SWITCH_DECLARE(int32_t) switch_core_session_ctl(switch_session_ctl_t cmd, int32_
}
*val = runtime.hard_log_level;
break;
case SCSC_LAST_SPS:
*val = runtime.sps_last;
break;
case SCSC_SPS:
switch_mutex_lock(runtime.throttle_mutex);
if (*val > 0) {