Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-04-10 12:32:34 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d8988da0eaf1c2bde24462327460ed62afd2d03b
d8988da0
1 parent
310157ab
refine the hls_on_notify, calc the spent time in ms.
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
trunk/src/kernel/srs_kernel_utility.cpp
trunk/src/kernel/srs_kernel_utility.cpp
查看文件 @
d8988da
...
...
@@ -134,7 +134,7 @@ int64_t srs_update_system_time_ms()
if
(
_srs_system_time_us_cache
<=
0
)
{
_srs_system_time_us_cache
=
now_us
;
_srs_system_time_startup_time
=
now_us
;
return
_srs_system_time_us_cache
;
return
_srs_system_time_us_cache
/
1000
;
}
// use relative time.
...
...
@@ -151,7 +151,7 @@ int64_t srs_update_system_time_ms()
srs_info
(
"system time updated, startup=%"
PRId64
"us, now=%"
PRId64
"us"
,
_srs_system_time_startup_time
,
_srs_system_time_us_cache
);
return
_srs_system_time_us_cache
;
return
_srs_system_time_us_cache
/
1000
;
}
string
srs_dns_resolve
(
string
host
)
...
...
请
注册
或
登录
后发表评论