From 7c67c73a642794e2f95cb9b7f5b8377363adc0f2 Mon Sep 17 00:00:00 2001 From: Ahmed El-Shafiey Date: Wed, 19 Dec 2012 06:52:31 -0800 Subject: fixig more valgrind errors in CACTI due to uinitialized variables + fixing a bug in the interconect stats (initializing the n_mem_to_simt metric to zero) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14843] --- src/gpuwattch/cacti/wire.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpuwattch/cacti/wire.h') diff --git a/src/gpuwattch/cacti/wire.h b/src/gpuwattch/cacti/wire.h index 36e2ece..fb82c5f 100644 --- a/src/gpuwattch/cacti/wire.h +++ b/src/gpuwattch/cacti/wire.h @@ -45,7 +45,7 @@ class Wire : public Component { public: - Wire(enum Wire_type wire_model, double len /* in u*/, + Wire(enum Wire_type wire_model, double len = 0 /* in u*/, int nsense = 1/* no. of sense amps connected to the low-swing wire */, double width_scaling = 1, double spacing_scaling = 1, -- cgit v1.3