summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.cc
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-15 13:31:36 -0400
committerMengchi Zhang <[email protected]>2019-07-15 13:31:36 -0400
commit36aaec0a30445533f04aaf6b55c5ef135e20484a (patch)
treeaa47ed8140bc6d7388bd6afeab59b33705744b3b /src/gpgpu-sim/gpu-sim.cc
parentbd170826a00fe1ea1960ff2e23247ed3f980547b (diff)
Move ptx_line_stats_filename and enable_ptx_file_line_stats
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.cc')
-rw-r--r--src/gpgpu-sim/gpu-sim.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc
index 0644b44..bdf989a 100644
--- a/src/gpgpu-sim/gpu-sim.cc
+++ b/src/gpgpu-sim/gpu-sim.cc
@@ -545,7 +545,7 @@ void gpgpu_sim_config::reg_options(option_parser_t opp)
option_parser_register(opp, "-trace_sampling_memory_partition", OPT_INT32,
&Trace::sampling_memory_partition, "The memory partition which is printed using MEMPART_DPRINTF. Default -1 (i.e. all)",
"-1");
- ptx_file_line_stats_options(opp);
+ gpgpu_ctx->stats->ptx_file_line_stats_options(opp);
//Jin: kernel launch latency
option_parser_register(opp, "-gpgpu_kernel_launch_latency", OPT_INT32,
@@ -932,7 +932,7 @@ void gpgpu_sim::update_stats() {
void gpgpu_sim::print_stats()
{
- ptx_file_line_stats_write_file();
+ gpgpu_ctx->stats->ptx_file_line_stats_write_file();
gpu_print_stat();
if (g_network_mode) {