Changeset 779 for trunk/modules
- Timestamp:
- Aug 28, 2014, 6:04:44 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_mem_cache/caba/source/src/vci_mem_cache.cpp
r729 r779 880 880 << "[001] NUMBER OF CYCLES = " << m_cpt_cycles << std::endl 881 881 << std::endl 882 << "[0 02] LOCAL READ = " << m_cpt_read_local << std::endl883 << "[0 03] REMOTE READ = " << m_cpt_read_remote << std::endl884 << "[0 04] READ COST (FLITS * DIST) = " << m_cpt_read_cost << std::endl882 << "[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 885 885 << 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 891 892 << std::endl 892 << "[0 10] LOCAL LL = " << m_cpt_ll_local << std::endl893 << "[0 11] REMOTE LL = " << m_cpt_ll_remote << std::endl894 << "[0 12] LL COST (FLITS * DIST) = " << m_cpt_ll_cost << std::endl893 << "[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 895 896 << std::endl 896 << "[0 13] LOCAL SC = " << m_cpt_sc_local << std::endl897 << "[0 14] REMOTE SC = " << m_cpt_sc_remote << std::endl898 << "[0 15] SC COST (FLITS * DIST) = " << m_cpt_sc_cost << std::endl897 << "[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 899 900 << std::endl 900 << "[0 16] LOCAL CAS = " << m_cpt_cas_local << std::endl901 << "[0 17] REMOTE CAS = " << m_cpt_cas_remote << std::endl902 << "[0 18] CAS COST (FLITS * DIST) = " << m_cpt_cas_cost << std::endl901 << "[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 903 904 << std::endl 904 << "[0 19] REQUESTS TRIG. UPDATE = " << m_cpt_update << std::endl905 << "[0 20] LOCAL UPDATE = " << m_cpt_update_local << std::endl906 << "[0 21] REMOTE UPDATE = " << m_cpt_update_remote << std::endl907 << "[0 22] UPDT COST (FLITS * DIST) = " << m_cpt_update_cost << std::endl905 << "[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 908 909 << std::endl 909 << "[0 23] REQUESTS TRIG. M_INV = " << m_cpt_minval << std::endl910 << "[0 24] LOCAL M_INV = " << m_cpt_minval_local << std::endl911 << "[0 25] REMOTE M_INV = " << m_cpt_minval_remote << std::endl912 << "[0 26] M_INV COST (FLITS * DIST) = " << m_cpt_minval_cost << std::endl910 << "[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 913 914 << 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 915 917 << 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 919 922 << 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 920 926 << std::endl 921 << "[ 031] READ MISS = " << m_cpt_read_miss<< std::endl922 << "[ 032] WRITE MISS = " << m_cpt_write_miss<< std::endl923 << "[ 033] WRITE DIRTY = " << m_cpt_write_dirty<< std::endl924 << "[ 034] RD BLOCKED BY HIT IN TRT = " << m_cpt_trt_rb<< std::endl925 << "[ 035] TRANS BLOCKED BY FULL TRT = " << m_cpt_trt_full<< std::endl926 << "[036] PUT (UNIMPLEMENTED) = " << m_cpt_put << std::endl927 << "[ 037] GET (UNIMPLEMENTED) = " << m_cpt_get<< std::endl928 << "[ 038] WRITE BROADCAST = " << m_cpt_write_broadcast<< std::endl927 << "[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 929 935 << std::endl; 930 936 } … … 935 941 std::cout << "----------------------------------" << std::dec << std::endl; 936 942 std::cout 937 << "[ 100] READ TOTAL = " << m_cpt_read_local + m_cpt_read_remote << std::endl938 << "[ 101] READ RATE = " << (double) (m_cpt_read_local + m_cpt_read_remote) / m_cpt_cycles << std::endl939 << "[ 102] LOCAL READ RATE = " << (double) m_cpt_read_local / m_cpt_cycles << std::endl940 << "[ 103] REMOTE READ RATE = " << (double) m_cpt_read_remote / m_cpt_cycles << std::endl941 << "[ 104] READ MISS RATE = " << (double) m_cpt_read_miss / (m_cpt_read_local + m_cpt_read_remote) << std::endl943 << "[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 942 948 << std::endl 943 << "[ 105] WRITE TOTAL = " << m_cpt_write_local + m_cpt_write_remote << std::endl944 << "[ 106] WRITE RATE = " << (double) (m_cpt_write_local + m_cpt_write_remote) / m_cpt_cycles << std::endl945 << "[ 107] LOCAL WRITE RATE = " << (double) m_cpt_write_local / m_cpt_cycles << std::endl946 << "[ 108] REMOTE WRITE RATE = " << (double) m_cpt_write_remote / m_cpt_cycles << std::endl947 << "[ 109] WRITE MISS RATE = " << (double) m_cpt_write_miss / (m_cpt_write_local + m_cpt_write_remote) << std::endl948 << "[ 110] WRITE BURST TOTAL = " << m_cpt_write_flits_local + m_cpt_write_flits_remote << std::endl949 << "[ 111] WRITE BURST AVERAGE = " << (double) (m_cpt_write_flits_local + m_cpt_write_flits_remote) / (m_cpt_write_local + m_cpt_write_remote) << std::endl950 << "[ 112] LOCAL WRITE BURST AV. = " << (double) m_cpt_write_flits_local / (m_cpt_write_local + m_cpt_write_remote) << std::endl951 << "[ 113] REMOTE WRITE BURST AV = " << (double) m_cpt_write_flits_remote / (m_cpt_write_local + m_cpt_write_remote) << std::endl949 << "[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 952 958 << std::endl 953 << "[ 114] UPDATE RATE = " << (double) m_cpt_update / m_cpt_cycles << std::endl954 << "[ 115] AV. UPDATE PER UP REQ = " << (double) (m_cpt_update_local + m_cpt_update_remote) / m_cpt_update << std::endl955 << "[ 116] AV. LOC UPDT PER UP REQ = " << (double) m_cpt_update_local / m_cpt_update << std::endl956 << "[ 117] AV. REMOTE UPDT PER UP REQ = " << (double) m_cpt_update_remote / m_cpt_update << std::endl959 << "[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 957 963 << std::endl 958 << "[ 118] INVAL MULTICAST RATE = " << (double) m_cpt_minval / m_cpt_cycles << std::endl959 << "[ 119] AVE. INVAL PER M_INV = " << (double) (m_cpt_minval_local + m_cpt_minval_remote) / m_cpt_minval << std::endl960 << "[ 120] AV. LOC INV PER M_INV = " << (double) m_cpt_minval_local / m_cpt_minval << std::endl961 << "[ 121] AV. REM INV PER M_INV = " << (double) m_cpt_minval_remote / m_cpt_minval << std::endl964 << "[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 962 968 << std::endl 963 << "[ 122] INVAL BROADCAST RATE = " << (double) m_cpt_binval / m_cpt_cycles << std::endl964 << "[ 123] WRITE DIRTY RATE = " << (double) m_cpt_write_dirty / m_cpt_cycles << std::endl969 << "[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 965 971 << std::endl 966 << "[ 124] CLEANUP RATE = " << (double) (m_cpt_cleanup_local + m_cpt_cleanup_remote) / m_cpt_cycles << std::endl967 << "[ 125] LOCAL CLEANUP RATE = " << (double) m_cpt_cleanup_local / m_cpt_cycles << std::endl968 << "[ 126] REMOTE CLEANUP RATE = " << (double) m_cpt_cleanup_remote / m_cpt_cycles << std::endl969 << "[ 127] LL RATE = " << (double) (m_cpt_ll_local + m_cpt_ll_remote) / m_cpt_cycles << std::endl970 << "[ 128] LOCAL LL RATE = " << (double) m_cpt_ll_local / m_cpt_cycles << std::endl971 << "[ 129] REMOTE LL RATE = " << (double) m_cpt_ll_remote / m_cpt_cycles << std::endl972 << "[ 130] SC RATE = " << (double) (m_cpt_sc_local + m_cpt_sc_remote) / m_cpt_cycles << std::endl973 << "[ 131] LOCAL SC RATE = " << (double) m_cpt_sc_local / m_cpt_cycles << std::endl974 << "[ 132] REMOTE SC RATE = " << (double) m_cpt_sc_remote / m_cpt_cycles << std::endl975 << "[ 133] CAS RATE = " << (double) (m_cpt_cas_local + m_cpt_cas_remote) / m_cpt_cycles << std::endl976 << "[ 134] LOCAL CAS RATE = " << (double) m_cpt_cas_local / m_cpt_cycles << std::endl977 << "[ 135] REMOTE CAS RATE = " << (double) m_cpt_cas_remote / m_cpt_cycles << std::endl972 << "[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 978 984 << std::endl 979 985 << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.