Changeset 779 for trunk/modules


Ignore:
Timestamp:
Aug 28, 2014, 6:04:44 PM (10 years ago)
Author:
meunier
Message:

Trunk:

  • Updating python scripts for simulations and graphs for tsar_generic_xbar (support for rwt and mesi)
File:
1 edited

Legend:

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

    r729 r779  
    880880                << "[001] NUMBER OF CYCLES          = " << m_cpt_cycles << std::endl
    881881                << std::endl
    882                 << "[002] LOCAL READ                = " << m_cpt_read_local << std::endl
    883                 << "[003] REMOTE READ               = " << m_cpt_read_remote << std::endl
    884                 << "[004] READ COST (FLITS * DIST)  = " << m_cpt_read_cost << std::endl
     882                << "[010] LOCAL READ                = " << m_cpt_read_local << std::endl
     883                << "[011] REMOTE READ               = " << m_cpt_read_remote << std::endl
     884                << "[012] READ COST (FLITS * DIST)  = " << m_cpt_read_cost << std::endl
    885885                << std::endl
    886                 << "[005] LOCAL WRITE               = " << m_cpt_write_local << std::endl
    887                 << "[006] REMOTE WRITE              = " << m_cpt_write_remote << std::endl
    888                 << "[007] WRITE FLITS LOCAL         = " << m_cpt_write_flits_local << std::endl
    889                 << "[008] WRITE FLITS REMOTE        = " << m_cpt_write_flits_remote << std::endl
    890                 << "[009] WRITE COST (FLITS * DIST) = " << m_cpt_write_cost << std::endl
     886                << "[020] LOCAL WRITE               = " << m_cpt_write_local << std::endl
     887                << "[021] REMOTE WRITE              = " << m_cpt_write_remote << std::endl
     888                << "[022] WRITE FLITS LOCAL         = " << m_cpt_write_flits_local << std::endl
     889                << "[023] WRITE FLITS REMOTE        = " << m_cpt_write_flits_remote << std::endl
     890                << "[024] WRITE COST (FLITS * DIST) = " << m_cpt_write_cost << std::endl
     891                << "[025] WRITE L1 MISS NCC         = " << "0" << std::endl
    891892                << std::endl
    892                 << "[010] LOCAL LL                  = " << m_cpt_ll_local << std::endl
    893                 << "[011] REMOTE LL                 = " << m_cpt_ll_remote << std::endl
    894                 << "[012] LL COST (FLITS * DIST)    = " << m_cpt_ll_cost << std::endl
     893                << "[030] LOCAL LL                  = " << m_cpt_ll_local << std::endl
     894                << "[031] REMOTE LL                 = " << m_cpt_ll_remote << std::endl
     895                << "[032] LL COST (FLITS * DIST)    = " << m_cpt_ll_cost << std::endl
    895896                << std::endl
    896                 << "[013] LOCAL SC                  = " << m_cpt_sc_local << std::endl
    897                 << "[014] REMOTE SC                 = " << m_cpt_sc_remote << std::endl
    898                 << "[015] SC COST (FLITS * DIST)    = " << m_cpt_sc_cost << std::endl
     897                << "[040] LOCAL SC                  = " << m_cpt_sc_local << std::endl
     898                << "[041] REMOTE SC                 = " << m_cpt_sc_remote << std::endl
     899                << "[042] SC COST (FLITS * DIST)    = " << m_cpt_sc_cost << std::endl
    899900                << std::endl
    900                 << "[016] LOCAL CAS                 = " << m_cpt_cas_local << std::endl
    901                 << "[017] REMOTE CAS                = " << m_cpt_cas_remote << std::endl
    902                 << "[018] CAS COST (FLITS * DIST)   = " << m_cpt_cas_cost << std::endl
     901                << "[050] LOCAL CAS                 = " << m_cpt_cas_local << std::endl
     902                << "[051] REMOTE CAS                = " << m_cpt_cas_remote << std::endl
     903                << "[052] CAS COST (FLITS * DIST)   = " << m_cpt_cas_cost << std::endl
    903904                << std::endl
    904                 << "[019] REQUESTS TRIG. UPDATE     = " << m_cpt_update << std::endl
    905                 << "[020] LOCAL UPDATE              = " << m_cpt_update_local << std::endl
    906                 << "[021] REMOTE UPDATE             = " << m_cpt_update_remote << std::endl
    907                 << "[022] UPDT COST (FLITS * DIST)  = " << m_cpt_update_cost << std::endl
     905                << "[060] REQUESTS TRIG. UPDATE     = " << m_cpt_update << std::endl
     906                << "[061] LOCAL UPDATE              = " << m_cpt_update_local << std::endl
     907                << "[062] REMOTE UPDATE             = " << m_cpt_update_remote << std::endl
     908                << "[063] UPDT COST (FLITS * DIST)  = " << m_cpt_update_cost << std::endl
    908909                << std::endl
    909                 << "[023] REQUESTS TRIG. M_INV      = " << m_cpt_minval << std::endl
    910                 << "[024] LOCAL M_INV               = " << m_cpt_minval_local << std::endl
    911                 << "[025] REMOTE M_INV              = " << m_cpt_minval_remote << std::endl
    912                 << "[026] M_INV COST (FLITS * DIST) = " << m_cpt_minval_cost << std::endl
     910                << "[070] REQUESTS TRIG. M_INV      = " << m_cpt_minval << std::endl
     911                << "[071] LOCAL M_INV               = " << m_cpt_minval_local << std::endl
     912                << "[072] REMOTE M_INV              = " << m_cpt_minval_remote << std::endl
     913                << "[073] M_INV COST (FLITS * DIST) = " << m_cpt_minval_cost << std::endl
    913914                << std::endl
    914                 << "[027] BROADCAT INVAL            = " << m_cpt_binval << std::endl
     915                << "[080] BROADCAT INVAL            = " << m_cpt_binval << std::endl
     916                << "[081] WRITE BROADCAST           = " << m_cpt_write_broadcast << std::endl
    915917                << std::endl
    916                 << "[028] LOCAL CLEANUP             = " << m_cpt_cleanup_local << std::endl
    917                 << "[029] REMOTE CLEANUP            = " << m_cpt_cleanup_remote << std::endl
    918                 << "[030] CLNUP COST (FLITS * DIST) = " << m_cpt_cleanup_cost << std::endl
     918                << "[090] LOCAL CLEANUP             = " << m_cpt_cleanup_local << std::endl
     919                << "[091] REMOTE CLEANUP            = " << m_cpt_cleanup_remote << std::endl
     920                << "[092] CLNUP COST (FLITS * DIST) = " << m_cpt_cleanup_cost << std::endl
     921                << "[093] CLEANUP DATA              = " << "0" << std::endl
    919922                << std::endl
     923                << "[100] READ MISS                 = " << m_cpt_read_miss << std::endl
     924                << "[101] WRITE MISS                = " << m_cpt_write_miss << std::endl
     925                << "[102] WRITE DIRTY               = " << m_cpt_write_dirty << std::endl
    920926                << std::endl
    921                 << "[031] READ MISS                 = " << m_cpt_read_miss << std::endl
    922                 << "[032] WRITE MISS                = " << m_cpt_write_miss << std::endl
    923                 << "[033] WRITE DIRTY               = " << m_cpt_write_dirty << std::endl
    924                 << "[034] RD BLOCKED BY HIT IN TRT  = " << m_cpt_trt_rb << std::endl
    925                 << "[035] TRANS BLOCKED BY FULL TRT = " << m_cpt_trt_full << std::endl
    926                 << "[036] PUT (UNIMPLEMENTED)       = " << m_cpt_put << std::endl
    927                 << "[037] GET (UNIMPLEMENTED)       = " << m_cpt_get << std::endl
    928                 << "[038] WRITE BROADCAST           = " << m_cpt_write_broadcast << std::endl
     927                << "[110] RD BLOCKED BY HIT IN TRT  = " << m_cpt_trt_rb << std::endl
     928                << "[111] TRANS BLOCKED BY FULL TRT = " << m_cpt_trt_full << std::endl
     929                << "[120] PUT (UNIMPLEMENTED)       = " << m_cpt_put << std::endl
     930                << "[121] GET (UNIMPLEMENTED)       = " << m_cpt_get << std::endl
     931                << "[130] MIN HEAP SLOT AV. (UNIMP) = " << "0" << std::endl
     932                << std::endl;
     933                << "[140] NCC TO CC (READ)          = " << "0" << std::endl
     934                << "[141] NCC TO CC (WRITE)         = " << "0" << std::endl
    929935                << std::endl;
    930936        }
     
    935941            std::cout << "----------------------------------" << std::dec << std::endl;
    936942            std::cout
    937                 << "[100] READ TOTAL            = " << m_cpt_read_local + m_cpt_read_remote << std::endl
    938                 << "[101] READ RATE             = " << (double) (m_cpt_read_local + m_cpt_read_remote) / m_cpt_cycles << std::endl
    939                 << "[102] LOCAL READ RATE       = " << (double) m_cpt_read_local / m_cpt_cycles << std::endl
    940                 << "[103] REMOTE READ RATE      = " << (double) m_cpt_read_remote / m_cpt_cycles << std::endl
    941                 << "[104] READ MISS RATE        = " << (double) m_cpt_read_miss / (m_cpt_read_local + m_cpt_read_remote) << std::endl
     943                << "[300] READ TOTAL            = " << m_cpt_read_local + m_cpt_read_remote << std::endl
     944                << "[301] READ RATE             = " << (double) (m_cpt_read_local + m_cpt_read_remote) / m_cpt_cycles << std::endl
     945                << "[302] LOCAL READ RATE       = " << (double) m_cpt_read_local / m_cpt_cycles << std::endl
     946                << "[303] REMOTE READ RATE      = " << (double) m_cpt_read_remote / m_cpt_cycles << std::endl
     947                << "[304] READ MISS RATE        = " << (double) m_cpt_read_miss / (m_cpt_read_local + m_cpt_read_remote) << std::endl
    942948                << std::endl
    943                 << "[105] WRITE TOTAL           = " << m_cpt_write_local + m_cpt_write_remote << std::endl
    944                 << "[106] WRITE RATE            = " << (double) (m_cpt_write_local + m_cpt_write_remote) / m_cpt_cycles << std::endl
    945                 << "[107] LOCAL WRITE RATE      = " << (double) m_cpt_write_local / m_cpt_cycles << std::endl
    946                 << "[108] REMOTE WRITE RATE     = " << (double) m_cpt_write_remote / m_cpt_cycles << std::endl
    947                 << "[109] WRITE MISS RATE       = " << (double) m_cpt_write_miss / (m_cpt_write_local + m_cpt_write_remote) << std::endl
    948                 << "[110] WRITE BURST TOTAL     = " << m_cpt_write_flits_local + m_cpt_write_flits_remote << std::endl
    949                 << "[111] WRITE BURST AVERAGE   = " << (double) (m_cpt_write_flits_local + m_cpt_write_flits_remote) / (m_cpt_write_local + m_cpt_write_remote) << std::endl
    950                 << "[112] LOCAL WRITE BURST AV. = " << (double) m_cpt_write_flits_local / (m_cpt_write_local + m_cpt_write_remote) << std::endl
    951                 << "[113] REMOTE WRITE BURST AV = " << (double) m_cpt_write_flits_remote / (m_cpt_write_local + m_cpt_write_remote) << std::endl
     949                << "[305] WRITE TOTAL           = " << m_cpt_write_local + m_cpt_write_remote << std::endl
     950                << "[306] WRITE RATE            = " << (double) (m_cpt_write_local + m_cpt_write_remote) / m_cpt_cycles << std::endl
     951                << "[307] LOCAL WRITE RATE      = " << (double) m_cpt_write_local / m_cpt_cycles << std::endl
     952                << "[308] REMOTE WRITE RATE     = " << (double) m_cpt_write_remote / m_cpt_cycles << std::endl
     953                << "[309] WRITE MISS RATE       = " << (double) m_cpt_write_miss / (m_cpt_write_local + m_cpt_write_remote) << std::endl
     954                << "[310] WRITE BURST TOTAL     = " << m_cpt_write_flits_local + m_cpt_write_flits_remote << std::endl
     955                << "[311] WRITE BURST AVERAGE   = " << (double) (m_cpt_write_flits_local + m_cpt_write_flits_remote) / (m_cpt_write_local + m_cpt_write_remote) << std::endl
     956                << "[312] LOCAL WRITE BURST AV. = " << (double) m_cpt_write_flits_local / (m_cpt_write_local + m_cpt_write_remote) << std::endl
     957                << "[313] REMOTE WRITE BURST AV = " << (double) m_cpt_write_flits_remote / (m_cpt_write_local + m_cpt_write_remote) << std::endl
    952958                << std::endl
    953                 << "[114] UPDATE RATE                = " << (double) m_cpt_update / m_cpt_cycles << std::endl
    954                 << "[115] AV. UPDATE PER UP REQ      = " << (double) (m_cpt_update_local + m_cpt_update_remote) / m_cpt_update << std::endl
    955                 << "[116] AV. LOC UPDT PER UP REQ    = " << (double) m_cpt_update_local / m_cpt_update << std::endl
    956                 << "[117] AV. REMOTE UPDT PER UP REQ = " << (double) m_cpt_update_remote / m_cpt_update << std::endl
     959                << "[314] UPDATE RATE                = " << (double) m_cpt_update / m_cpt_cycles << std::endl
     960                << "[315] AV. UPDATE PER UP REQ      = " << (double) (m_cpt_update_local + m_cpt_update_remote) / m_cpt_update << std::endl
     961                << "[316] AV. LOC UPDT PER UP REQ    = " << (double) m_cpt_update_local / m_cpt_update << std::endl
     962                << "[317] AV. REMOTE UPDT PER UP REQ = " << (double) m_cpt_update_remote / m_cpt_update << std::endl
    957963                << std::endl
    958                 << "[118] INVAL MULTICAST RATE  = " << (double) m_cpt_minval / m_cpt_cycles << std::endl
    959                 << "[119] AVE. INVAL PER M_INV  = " << (double) (m_cpt_minval_local + m_cpt_minval_remote) / m_cpt_minval << std::endl
    960                 << "[120] AV. LOC INV PER M_INV = " << (double) m_cpt_minval_local / m_cpt_minval << std::endl
    961                 << "[121] AV. REM INV PER M_INV = " << (double) m_cpt_minval_remote / m_cpt_minval << std::endl
     964                << "[318] INVAL MULTICAST RATE  = " << (double) m_cpt_minval / m_cpt_cycles << std::endl
     965                << "[319] AVE. INVAL PER M_INV  = " << (double) (m_cpt_minval_local + m_cpt_minval_remote) / m_cpt_minval << std::endl
     966                << "[320] AV. LOC INV PER M_INV = " << (double) m_cpt_minval_local / m_cpt_minval << std::endl
     967                << "[321] AV. REM INV PER M_INV = " << (double) m_cpt_minval_remote / m_cpt_minval << std::endl
    962968                << std::endl
    963                 << "[122] INVAL BROADCAST RATE  = " << (double) m_cpt_binval / m_cpt_cycles << std::endl
    964                 << "[123] WRITE DIRTY RATE      = " << (double) m_cpt_write_dirty / m_cpt_cycles << std::endl
     969                << "[322] INVAL BROADCAST RATE  = " << (double) m_cpt_binval / m_cpt_cycles << std::endl
     970                << "[323] WRITE DIRTY RATE      = " << (double) m_cpt_write_dirty / m_cpt_cycles << std::endl
    965971                << std::endl
    966                 << "[124] CLEANUP RATE          = " << (double) (m_cpt_cleanup_local + m_cpt_cleanup_remote) / m_cpt_cycles << std::endl
    967                 << "[125] LOCAL CLEANUP RATE    = " << (double) m_cpt_cleanup_local / m_cpt_cycles << std::endl
    968                 << "[126] REMOTE CLEANUP RATE   = " << (double) m_cpt_cleanup_remote / m_cpt_cycles << std::endl
    969                 << "[127] LL RATE               = " << (double) (m_cpt_ll_local + m_cpt_ll_remote) / m_cpt_cycles << std::endl
    970                 << "[128] LOCAL LL RATE         = " << (double) m_cpt_ll_local / m_cpt_cycles << std::endl
    971                 << "[129] REMOTE LL RATE        = " << (double) m_cpt_ll_remote / m_cpt_cycles << std::endl
    972                 << "[130] SC RATE               = " << (double) (m_cpt_sc_local + m_cpt_sc_remote) / m_cpt_cycles << std::endl
    973                 << "[131] LOCAL SC RATE         = " << (double) m_cpt_sc_local / m_cpt_cycles << std::endl
    974                 << "[132] REMOTE SC RATE        = " << (double) m_cpt_sc_remote / m_cpt_cycles << std::endl
    975                 << "[133] CAS RATE              = " << (double) (m_cpt_cas_local + m_cpt_cas_remote) / m_cpt_cycles << std::endl
    976                 << "[134] LOCAL CAS RATE        = " << (double) m_cpt_cas_local / m_cpt_cycles << std::endl
    977                 << "[135] REMOTE CAS RATE       = " << (double) m_cpt_cas_remote / m_cpt_cycles << std::endl
     972                << "[324] CLEANUP RATE          = " << (double) (m_cpt_cleanup_local + m_cpt_cleanup_remote) / m_cpt_cycles << std::endl
     973                << "[325] LOCAL CLEANUP RATE    = " << (double) m_cpt_cleanup_local / m_cpt_cycles << std::endl
     974                << "[326] REMOTE CLEANUP RATE   = " << (double) m_cpt_cleanup_remote / m_cpt_cycles << std::endl
     975                << "[327] LL RATE               = " << (double) (m_cpt_ll_local + m_cpt_ll_remote) / m_cpt_cycles << std::endl
     976                << "[328] LOCAL LL RATE         = " << (double) m_cpt_ll_local / m_cpt_cycles << std::endl
     977                << "[329] REMOTE LL RATE        = " << (double) m_cpt_ll_remote / m_cpt_cycles << std::endl
     978                << "[330] SC RATE               = " << (double) (m_cpt_sc_local + m_cpt_sc_remote) / m_cpt_cycles << std::endl
     979                << "[331] LOCAL SC RATE         = " << (double) m_cpt_sc_local / m_cpt_cycles << std::endl
     980                << "[332] REMOTE SC RATE        = " << (double) m_cpt_sc_remote / m_cpt_cycles << std::endl
     981                << "[333] CAS RATE              = " << (double) (m_cpt_cas_local + m_cpt_cas_remote) / m_cpt_cycles << std::endl
     982                << "[334] LOCAL CAS RATE        = " << (double) m_cpt_cas_local / m_cpt_cycles << std::endl
     983                << "[335] REMOTE CAS RATE       = " << (double) m_cpt_cas_remote / m_cpt_cycles << std::endl
    978984                << std::endl
    979985                << std::endl;
Note: See TracChangeset for help on using the changeset viewer.