##// END OF EJS Templates
counters handling changed...
paul -
r291:e5cf3bb50480 R3_plus draft
parent child
Show More
@@ -683,14 +683,21 void hk_lfr_le_me_he_update()
683 683 unsigned int hk_lfr_le_cnt;
684 684 unsigned int hk_lfr_me_cnt;
685 685 unsigned int hk_lfr_he_cnt;
686 unsigned int current_hk_lfr_le_cnt;
687 unsigned int current_hk_lfr_me_cnt;
688 unsigned int current_hk_lfr_he_cnt;
686 689
687 690 hk_lfr_le_cnt = 0;
688 691 hk_lfr_me_cnt = 0;
689 692 hk_lfr_he_cnt = 0;
693 current_hk_lfr_le_cnt = ((unsigned int) housekeeping_packet.hk_lfr_le_cnt[0]) * 256 + housekeeping_packet.hk_lfr_le_cnt[1];
694 current_hk_lfr_me_cnt = ((unsigned int) housekeeping_packet.hk_lfr_me_cnt[0]) * 256 + housekeeping_packet.hk_lfr_me_cnt[1];
695 current_hk_lfr_he_cnt = ((unsigned int) housekeeping_packet.hk_lfr_he_cnt[0]) * 256 + housekeeping_packet.hk_lfr_he_cnt[1];
690 696
691 697 //update the low severity error counter
692 698 hk_lfr_le_cnt =
693 housekeeping_packet.hk_lfr_dpu_spw_parity
699 current_hk_lfr_le_cnt
700 + housekeeping_packet.hk_lfr_dpu_spw_parity
694 701 + housekeeping_packet.hk_lfr_dpu_spw_disconnect
695 702 + housekeeping_packet.hk_lfr_dpu_spw_escape
696 703 + housekeeping_packet.hk_lfr_dpu_spw_credit
@@ -707,7 +714,8 void hk_lfr_le_me_he_update()
707 714
708 715 //update the medium severity error counter
709 716 hk_lfr_me_cnt =
710 housekeeping_packet.hk_lfr_dpu_spw_early_eop
717 current_hk_lfr_me_cnt
718 + housekeeping_packet.hk_lfr_dpu_spw_early_eop
711 719 + housekeeping_packet.hk_lfr_dpu_spw_invalid_addr
712 720 + housekeeping_packet.hk_lfr_dpu_spw_eep
713 721 + housekeeping_packet.hk_lfr_dpu_spw_rx_too_big;
General Comments 0
You need to be logged in to leave comments. Login now