def _print_totals(self, totals, row):
row += 1
self._print_line(row, 0, 'Totals:', color=curses.A_BOLD)
self._print_line(row, 2, "{0} ({1:.2f})".format(totals['syn_count'], totals['syn_rate']), color=curses.A_BOLD)
self._print_line(row, 6, "{0} ({1:.2f})".format(totals['est_count'], totals['est_rate']), color=curses.A_BOLD)
self._print_line(row, 8, str(totals['rst_count']), color=curses.A_BOLD)
row += 1
self._print_line(row, 0, "")
return row + 1
评论列表
文章目录