mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 16:24:13 +00:00
add softtimer to the core, begin framework for static modules and reduces calls to gettimeofday for timestamps
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5784 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
23758b1965
commit
bd6bd9ad57
21 files changed
+163
-303
No files matched your search
@@ -151,7 +151,7 @@ SWITCH_DECLARE(void) switch_console_printf(switch_text_channel_t channel, const
|
||||
switch_size_t retsize;
|
||||
switch_time_exp_t tm;
|
||||
switch_event_t *event;
|
||||
switch_time_exp_lt(&tm, switch_time_now());
|
||||
switch_time_exp_lt(&tm, switch_timestamp_now());
|
||||
switch_strftime(date, &retsize, sizeof(date), "%Y-%m-%d %T", &tm);
|
||||
|
||||
if (channel == SWITCH_CHANNEL_ID_LOG) {
|
||||
|
||||
Reference in new issue
Block a user