add log and event object recycling to reduce malloc per sec in high call load

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5768 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-09-30 20:05:18 +00:00
parent 8f963f4aea
commit 1a316ca6db
3 changed files with 68 additions and 43 deletions
+2 -2
View File
@@ -50,11 +50,11 @@ SWITCH_BEGIN_EXTERN_C
/*! The complete log message */
char *data;
/*! The file where the message originated */
char *file;
char file[80];
/*! The line number where the message originated */
uint32_t line;
/*! The function where the message originated */
char *func;
char func[80];
/*! The log level of the message */
switch_log_level_t level;
/*! The time when the log line was sent */