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
2014-07-28 13:51:54 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
792a6f944f8896d696c784b21035709b08e9c55d
792a6f94
1 parent
c16d3585
refine utility of cpu, add comment for cpu percent
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
trunk/src/app/srs_app_utility.cpp
trunk/src/app/srs_app_utility.cpp
查看文件 @
792a6f9
...
...
@@ -525,6 +525,7 @@ void srs_update_disk_stat()
&&
o
.
ticks
<
r
.
ticks
)
{
// @see: print_partition_stats() of iostat.c
// TODO: FIXME: the USER_HZ assert to 100, so the total_delta ticks *10 is ms.
double
delta_ms
=
r
.
cpu
.
total_delta
*
10
/
cpuinfo
->
nb_processors
;
unsigned
int
ticks
=
r
.
ticks
-
o
.
ticks
;
...
...
请
注册
或
登录
后发表评论