diff options
| author | Ahmed El-Shafiey <[email protected]> | 2012-12-23 03:47:12 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:49:24 -0700 |
| commit | bf144db8307cf7e992d2898a2a54d17f873411fe (patch) | |
| tree | e96e45dd81c04347b53714f45db712c15ad6f0f4 | |
| parent | a27f7e22eb1d0f8285f0023cd48a2f825db86ced (diff) | |
fix a typo in the last submission
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14876]
| -rw-r--r-- | src/gpgpu-sim/shader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/shader.cc b/src/gpgpu-sim/shader.cc index b3016b3..10b5c4a 100644 --- a/src/gpgpu-sim/shader.cc +++ b/src/gpgpu-sim/shader.cc @@ -1010,7 +1010,7 @@ void shader_core_ctx::writeback() { unsigned max_committed_thread_instructions=m_config->warp_size * (m_config->pipe_widths[EX_WB]); //from the functional units - m_stats->m_pipeline_duty_cycle[m_sid]=(m_stats->m_num_sim_insn[m_sid]-m_stats->m_last_num_sim_insn[m_sid])/max_num_committed_instructions; + m_stats->m_pipeline_duty_cycle[m_sid]=(m_stats->m_num_sim_insn[m_sid]-m_stats->m_last_num_sim_insn[m_sid])/max_committed_thread_instructions; m_stats->m_last_num_sim_insn[m_sid]=m_stats->m_num_sim_insn[m_sid]; m_stats->m_last_num_sim_winsn[m_sid]=m_stats->m_num_sim_winsn[m_sid]; |
