From d8c39c7de2957efb10797e24b835306e295df7f2 Mon Sep 17 00:00:00 2001 From: Tayler Hetherington Date: Tue, 5 Mar 2013 15:24:42 -0800 Subject: GPUWattch bug fix: Performance counters not being correctly reset at kernel completion. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15413] --- src/gpuwattch/gpgpu_sim_wrapper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gpuwattch/gpgpu_sim_wrapper.h') diff --git a/src/gpuwattch/gpgpu_sim_wrapper.h b/src/gpuwattch/gpgpu_sim_wrapper.h index eed308f..115db43 100644 --- a/src/gpuwattch/gpgpu_sim_wrapper.h +++ b/src/gpuwattch/gpgpu_sim_wrapper.h @@ -61,6 +61,7 @@ public: void print_trace_files(); void update_components_power(); void update_coefficients(); + void reset_perf_counters(bool do_print); void print_power_kernel_stats(double gpu_sim_cycle, double gpu_tot_sim_cycle, double init_value, const std::string & kernel_info_string); void power_metrics_calculations(); void set_inst_power(bool clk_gated_lanes, double tot_cycles, double busy_cycles, double tot_inst, double int_inst, double fp_inst, double load_inst, double store_inst, double committed_inst); -- cgit v1.3