Changeset 209 for trunk


Ignore:
Timestamp:
Mar 16, 2012, 12:27:41 PM (12 years ago)
Author:
bouyer
Message:

Initialize all variables that will be used later

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_cc_vcache_wrapper_v4/caba/source/src/vci_cc_vcache_wrapper_v4.cpp

    r206 r209  
    725725        m_debug_cleanup_fsm       = false;
    726726
    727 /*
    728727        // activity counters
    729728        m_cpt_dcache_data_read  = 0;
     
    737736
    738737        m_cpt_frz_cycles        = 0;
    739         m_cpt_dcache_frz_cycles = 0;
    740738        m_cpt_total_cycles      = 0;
    741 
    742         m_cpt_read              = 0;
    743         m_cpt_write             = 0;
     739        m_cpt_stop_simulation   = 0;
     740
    744741        m_cpt_data_miss         = 0;
    745742        m_cpt_ins_miss          = 0;
     
    792789        m_cost_data_tlb_inval_frz = 0;         
    793790
    794         m_cpt_cc_update_data = 0;
    795         m_cpt_cc_inval_ins   = 0;
    796         m_cpt_cc_inval_data  = 0;
    797791        m_cpt_cc_broadcast   = 0;
    798792
     
    822816        m_cost_dtlb_ll_dirty_transaction = 0;   
    823817        m_cost_dtlb_sc_dirty_transaction = 0;   
     818/*
     819        m_cpt_dcache_frz_cycles = 0;
     820        m_cpt_read              = 0;
     821        m_cpt_write             = 0;
     822        m_cpt_cc_update_data = 0;
     823        m_cpt_cc_inval_ins   = 0;
     824        m_cpt_cc_inval_data  = 0;
     825  */
    824826
    825827        for (uint32_t i=0; i<32 ; ++i) m_cpt_fsm_icache      [i]   = 0;
     
    831833        for (uint32_t i=0; i<32 ; ++i) m_cpt_fsm_rsp_cleanup [i]   = 0;
    832834
    833 */
    834835        return;
    835836    }
     
    38693870m_cpt_dcache_data_read++;
    38703871m_cpt_dcache_dir_read++;
    3871 #endif;
     3872#endif
    38723873        assert( hit and "error in DCACHE_DIRTY_TLB_SET: the PTE should be in dcache" );
    38733874
Note: See TracChangeset for help on using the changeset viewer.