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:41:27 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c16d3585a53bbe4aaae02dd894098d388404dcd1
c16d3585
1 parent
118ec29f
refine utility of cpu, add comment for cpu percent
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
trunk/src/app/srs_app_utility.hpp
trunk/src/app/srs_app_utility.hpp
查看文件 @
c16d358
...
...
@@ -266,6 +266,8 @@ public:
// the time in ms when sample.
int64_t
sample_time
;
// the percent of usage. 0.153 is 15.3%.
// the percent is in [0, 1], where 1 is 100%.
// for multiple core cpu, max also is 100%.
float
percent
;
// the total cpu time units
// @remark, zero for the previous total() is zero.
...
...
请
注册
或
登录
后发表评论