Ignore:
Timestamp:
Sep 6, 2016, 4:00:48 PM (8 years ago)
Author:
alain
Message:

Improve the debug features regarding frozen cycles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_cc_vcache_wrapper/caba/source/include/vci_cc_vcache_wrapper.h

    r740 r1047  
    711711    uint32_t m_cpt_fsm_cc_send    [64];
    712712
    713     uint32_t m_cpt_stop_simulation;             // used to stop simulation if frozen
     713    // frozen cycles counters
     714    uint32_t m_cpt_stop_simulation;             // number of cycles continuously frozen
     715    uint32_t m_cpt_frozen_events;               // number of pathological transactions   
     716    uint32_t m_cpt_frozen_cost;             // cost of pathological transactions
     717
     718    // debug counters
    714719    bool     m_monitor_ok;                      // used to debug cache output 
    715720    uint32_t m_monitor_base;               
    716     uint32_t m_monitor_length;             
     721    uint32_t m_monitor_length;
    717722
    718723protected:
     
    747752
    748753    void print_cpi();
    749     void print_stats();
    750     void clear_stats();
     754    void print_frozen_stats();
    751755    void print_trace(size_t mode = 0);
    752756    void cache_monitor(paddr_t addr);
Note: See TracChangeset for help on using the changeset viewer.