diff options
| author | Tayler Hetherington <[email protected]> | 2013-03-05 15:24:42 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:05 -0700 |
| commit | d8c39c7de2957efb10797e24b835306e295df7f2 (patch) | |
| tree | 29d214d692daa0525ed19f3aef4433e78639fa87 /src/gpuwattch/gpgpu_sim_wrapper.h | |
| parent | bf2f85331ff81618ff51635179765653d508716f (diff) | |
GPUWattch bug fix: Performance counters not being correctly reset at kernel completion.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15413]
Diffstat (limited to 'src/gpuwattch/gpgpu_sim_wrapper.h')
| -rw-r--r-- | src/gpuwattch/gpgpu_sim_wrapper.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
