浏览代码

refactor code

stanley-king 2 年之前
父节点
当前提交
ba906ee4d7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      plot/refill/ChSpeedRatioCalc.py

+ 1 - 0
plot/refill/ChSpeedRatioCalc.py

@@ -30,6 +30,7 @@ class ChSpeedRatioCalc(ChannelCalc):
             speed = calc_chspeed(_data, pos_map, end_pos - 60, end_pos)
             ratio, ratio_commit, notify_time, succ_time = calc_chratio(_data, pos_map, end_pos - period, end_pos)
             monitor_commit = calc_commit(_data, pos_map, end_pos - 300, end_pos)
+
             key = f'{_name}-{_spec}-{_card_type}'
             result[key] = [speed, ratio, ratio_commit, notify_time, monitor_commit]
             logger.debug("%s-%d-%d speed=%d ratio=%.5f commit_count=%d notify_time=%.5f succ_time=%.5f monitor_commit=%d", _name, _card_type, _spec, speed, ratio,