| version 1.1.1.2, 2014/07/30 07:55:27 | version 1.1.1.3, 2019/10/21 14:58:35 | 
| Line 101  static void print_attr_detail(struct element *e, struc | Line 101  static void print_attr_detail(struct element *e, struc | 
 | char *rx_u, *tx_u; | char *rx_u, *tx_u; | 
 | int rxprec, txprec; | int rxprec, txprec; | 
 |  |  | 
| double rx = unit_value2str(a->a_rx_rate.r_total, | double rx = unit_value2str(rate_get_total(&a->a_rx_rate), | 
 | a->a_def->ad_unit, | a->a_def->ad_unit, | 
 | &rx_u, &rxprec); | &rx_u, &rxprec); | 
| double tx = unit_value2str(a->a_tx_rate.r_total, | double tx = unit_value2str(rate_get_total(&a->a_tx_rate), | 
 | a->a_def->ad_unit, | a->a_def->ad_unit, | 
 | &tx_u, &txprec); | &tx_u, &txprec); | 
 |  |  | 
| Line 212  static void ascii_draw_group(struct element_group *g, | Line 212  static void ascii_draw_group(struct element_group *g, | 
 | static void ascii_draw(void) | static void ascii_draw(void) | 
 | { | { | 
 | group_foreach(ascii_draw_group, NULL); | group_foreach(ascii_draw_group, NULL); | 
 |  | fflush(stdout); | 
 |  |  | 
 | if (c_quit_after > 0) | if (c_quit_after > 0) | 
 | if (--c_quit_after == 0) | if (--c_quit_after == 0) |