diff options
| author | Akshay Jain <[email protected]> | 2018-03-22 03:53:50 -0400 |
|---|---|---|
| committer | Akshay Jain <[email protected]> | 2018-03-22 03:53:50 -0400 |
| commit | 2d8d4455aa710914e87c5611cbb71f9330cdbc73 (patch) | |
| tree | ab2859bc0497aff5f115905a306b0f7bef2d326e /src/gpgpu-sim | |
| parent | e87f15a76c5b3225911850fcdb4074c16682ae50 (diff) | |
Change 180 by jain156@akshayj-lt1 on 2017/03/30 11:48:07
Added Memory Access breakdown statistics.
Divided INST stats into INST type and INST Mem accesses.
Diffstat (limited to 'src/gpgpu-sim')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc index 17f1714..121e079 100644 --- a/src/gpgpu-sim/gpu-sim.cc +++ b/src/gpgpu-sim/gpu-sim.cc @@ -445,7 +445,7 @@ void gpgpu_sim_config::reg_options(option_parser_t opp) "1"); option_parser_register(opp, "-gpgpu_ptx_instruction_classification", OPT_INT32, &gpgpu_ptx_instruction_classification, - "if enabled will classify ptx instruction types per kernel (Max 255 kernels now)", + "if enabled will classify ptx instruction types per kernel (Max 1024 kernels now)", "0"); option_parser_register(opp, "-gpgpu_ptx_sim_mode", OPT_INT32, &g_ptx_sim_mode, "Select between Performance (default) or Functional simulation (1)", @@ -1076,8 +1076,9 @@ void gpgpu_sim::gpu_print_stat() insn_warp_occ_print(stdout); } if ( gpgpu_ptx_instruction_classification ) { - StatDisp( g_inst_classification_stat[g_ptx_kernel_count]); - StatDisp( g_inst_op_classification_stat[g_ptx_kernel_count]); + StatDisp( g_inst_classification_stat[g_ptx_kernel_count_prev]); + StatDisp( g_inst_mem_classification_stat[g_ptx_kernel_count_prev]); + StatDisp( g_inst_op_classification_stat[g_ptx_kernel_count_prev]); } #ifdef GPGPUSIM_POWER_MODEL |
