mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support pithy print log message specified by stage.
This commit is contained in:
parent
293399dcf5
commit
b4427877f7
17 changed files with 355 additions and 42 deletions
|
@ -79,4 +79,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#define srs_min(a, b) ((a < b)? a : b)
|
||||
#define srs_max(a, b) ((a < b)? b : a)
|
||||
|
||||
// get current system time in ms, use cache to avoid performance problem
|
||||
extern int64_t srs_get_system_time_ms();
|
||||
// the deamon st-thread will update it.
|
||||
extern void srs_update_system_time_ms();
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue