diff options
| author | Mahmoud <[email protected]> | 2018-04-12 11:49:01 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2018-04-12 11:49:01 -0400 |
| commit | 0fed92bcefeffc16822bd07e3b436fcd7e490f57 (patch) | |
| tree | 2af911aa58b7616fccab5c854ada07ead6f6c63c /src/gpgpu-sim | |
| parent | d31e1340d3ee761d379c4a517e37c3ac7e8b3c0b (diff) | |
fixing FCFS bug
Diffstat (limited to 'src/gpgpu-sim')
| -rw-r--r-- | src/gpgpu-sim/mem_latency_stat.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgpu-sim/mem_latency_stat.cc b/src/gpgpu-sim/mem_latency_stat.cc index 35d6d84..8fdbe06 100644 --- a/src/gpgpu-sim/mem_latency_stat.cc +++ b/src/gpgpu-sim/mem_latency_stat.cc @@ -230,6 +230,7 @@ void memory_stats_t::memlatstat_print( unsigned n_mem, unsigned gpu_mem_n_bk ) if (num_mfs) { printf("averagemflatency = %lld \n", mf_total_lat/num_mfs); printf("avg_icnt2mem_latency = %lld \n", tot_icnt2mem_latency/num_mfs); + if(tot_mrq_num) printf("avg_mrq_latency = %lld \n", tot_mrq_latency/tot_mrq_num); printf("avg_icnt2sh_latency = %lld \n", tot_icnt2sh_latency/num_mfs); } |
