summaryrefslogtreecommitdiff
path: root/src/gpuwattch/gpgpu_sim_wrapper.h
diff options
context:
space:
mode:
authorAhmed El-Shafiey <[email protected]>2012-12-20 16:57:54 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:49:23 -0700
commitfecd769d1e7813b6cf962218208810049e2ad777 (patch)
treecbb7b9e6ec38fb713a1ee2a29ea3d66d6b1faec1 /src/gpuwattch/gpgpu_sim_wrapper.h
parent7c67c73a642794e2f95cb9b7f5b8377363adc0f2 (diff)
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]
Diffstat (limited to 'src/gpuwattch/gpgpu_sim_wrapper.h')
-rw-r--r--src/gpuwattch/gpgpu_sim_wrapper.h2
1 files changed, 1 insertions, 1 deletions
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,