Skip to content

Commit

Permalink
Change to calculate L2 BW if core freq and icnt freq are not the same (
Browse files Browse the repository at this point in the history
  • Loading branch information
christindbose authored Oct 1, 2024
1 parent 38b4df5 commit 980eb88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gpgpu-sim/gpu-sim.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1445,13 +1445,13 @@ void gpgpu_sim::gpu_print_stat(unsigned long long streamID) {
// %lld\n", partiton_replys_in_parallel_total );
printf("L2_BW = %12.4f GB/Sec\n",
((float)(partiton_replys_in_parallel * 32) /
(gpu_sim_cycle * m_config.icnt_period)) /
(gpu_sim_cycle * m_config.core_period)) /
1000000000);
printf("L2_BW_total = %12.4f GB/Sec\n",
((float)((partiton_replys_in_parallel +
partiton_replys_in_parallel_total) *
32) /
((gpu_tot_sim_cycle + gpu_sim_cycle) * m_config.icnt_period)) /
((gpu_tot_sim_cycle + gpu_sim_cycle) * m_config.core_period)) /
1000000000);

time_t curr_time;
Expand Down

0 comments on commit 980eb88

Please sign in to comment.