summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay Jain <[email protected]>2018-03-22 04:37:36 -0400
committerAkshay Jain <[email protected]>2018-03-22 04:37:36 -0400
commit0241bdee08d2bdf95b7f6f9518403c22f8f0bc53 (patch)
treebbc9a90fca3b6f3b98b8ea706279e054e50e283a
parent160db7d46af433d12288505005ebd8c41be59922 (diff)
Change 257 by jain156@akshayj-lt1 on 2017/06/03 16:32:52
Adding gpuwattch power stats to the output. Enabled inst and mem breakdown stats in config file.
-rw-r--r--configs/GTX480/gpgpusim.config2
-rw-r--r--src/gpgpu-sim/gpu-sim.cc1
2 files changed, 2 insertions, 1 deletions
diff --git a/configs/GTX480/gpgpusim.config b/configs/GTX480/gpgpusim.config
index 03fcda1..bff5d16 100644
--- a/configs/GTX480/gpgpusim.config
+++ b/configs/GTX480/gpgpusim.config
@@ -1,5 +1,5 @@
# functional simulator specification
--gpgpu_ptx_instruction_classification 0
+-gpgpu_ptx_instruction_classification 1
-gpgpu_ptx_sim_mode 0
-gpgpu_ptx_force_max_capability 20
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc
index 9a28b55..fb57a1e 100644
--- a/src/gpgpu-sim/gpu-sim.cc
+++ b/src/gpgpu-sim/gpu-sim.cc
@@ -1024,6 +1024,7 @@ void gpgpu_sim::gpu_print_stat()
shader_print_scheduler_stat( stdout, false );
m_shader_stats->print(stdout);
+ m_power_stats->print(stdout);
#ifdef GPGPUSIM_POWER_MODEL
if(m_config.g_power_simulation_enabled){
m_gpgpusim_wrapper->print_power_kernel_stats(gpu_sim_cycle, gpu_tot_sim_cycle, gpu_tot_sim_insn + gpu_sim_insn, kernel_info_str, true );