add peak sps to stats and a command to reset it

This commit is contained in:
Anthony Minessale
2013-07-19 15:16:42 -05:00
parent 4e74ef3914
commit 578361bea3
7 changed files with 27 additions and 4 deletions
+1
View File
@@ -238,6 +238,7 @@ struct switch_runtime {
uint32_t sps_total;
int32_t sps;
int32_t sps_last;
int32_t sps_peak;
switch_log_level_t hard_log_level;
char *mailer_app;
char *mailer_app_args;
+2 -1
View File
@@ -1861,7 +1861,8 @@ typedef enum {
SCSC_DEBUG_SQL,
SCSC_SQL,
SCSC_API_EXPANSION,
SCSC_RECOVER
SCSC_RECOVER,
SCSC_SPS_PEAK
} switch_session_ctl_t;
typedef enum {