|
@@ -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,
|