From fecd769d1e7813b6cf962218208810049e2ad777 Mon Sep 17 00:00:00 2001 From: Ahmed El-Shafiey Date: Thu, 20 Dec 2012 16:57:54 -0800 Subject: parsing the XML file only if the power simulator is enabled -- this bug was introduced from the prervious changelist [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14853] --- src/gpuwattch/gpgpu_sim_wrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 b88af66..97cffd3 100644 --- a/src/gpuwattch/gpgpu_sim_wrapper.h +++ b/src/gpuwattch/gpgpu_sim_wrapper.h @@ -46,7 +46,7 @@ using namespace std; class gpgpu_sim_wrapper { public: - gpgpu_sim_wrapper(char* xmlfile); + gpgpu_sim_wrapper(bool power_simulation_enabled, char* xmlfile); ~gpgpu_sim_wrapper(); void init_mcpat(char* xmlfile, char* powerfile, char* power_trace_file,char* metric_trace_file, -- cgit v1.3