正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
@@ -266,6 +266,8 @@ public: | @@ -266,6 +266,8 @@ public: | ||
266 | // the time in ms when sample. | 266 | // the time in ms when sample. |
267 | int64_t sample_time; | 267 | int64_t sample_time; |
268 | // the percent of usage. 0.153 is 15.3%. | 268 | // the percent of usage. 0.153 is 15.3%. |
269 | + // the percent is in [0, 1], where 1 is 100%. | ||
270 | + // for multiple core cpu, max also is 100%. | ||
269 | float percent; | 271 | float percent; |
270 | // the total cpu time units | 272 | // the total cpu time units |
271 | // @remark, zero for the previous total() is zero. | 273 | // @remark, zero for the previous total() is zero. |
-
请 注册 或 登录 后发表评论