正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -525,6 +525,7 @@ void srs_update_disk_stat() | @@ -525,6 +525,7 @@ void srs_update_disk_stat() | ||
525 | && o.ticks < r.ticks | 525 | && o.ticks < r.ticks |
526 | ) { | 526 | ) { |
527 | // @see: print_partition_stats() of iostat.c | 527 | // @see: print_partition_stats() of iostat.c |
528 | + // TODO: FIXME: the USER_HZ assert to 100, so the total_delta ticks *10 is ms. | ||
528 | double delta_ms = r.cpu.total_delta * 10 / cpuinfo->nb_processors; | 529 | double delta_ms = r.cpu.total_delta * 10 / cpuinfo->nb_processors; |
529 | unsigned int ticks = r.ticks - o.ticks; | 530 | unsigned int ticks = r.ticks - o.ticks; |
530 | 531 |
-
请 注册 或 登录 后发表评论