From 7092b55e927a46128d279d544ff2a32887e81126 Mon Sep 17 00:00:00 2001 From: Wilson Fung Date: Mon, 20 Feb 2012 23:56:01 -0800 Subject: Fix for bug 129. Created a directed test with a pre-known instruction count, and observed the over-count for vector memory instruction. The fix eliminates the over-count. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11481] --- src/abstract_hardware_model.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/abstract_hardware_model.h') diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index 3bc7538..1be293d 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -694,7 +694,7 @@ public: m_cache_hit=false; m_empty=false; } - void completed( unsigned long long cycle ); // stat collection: called when the instruction is completed + void completed( unsigned long long cycle ) const; // stat collection: called when the instruction is completed void set_addr( unsigned n, new_addr_type addr ) { if( !m_per_scalar_thread_valid ) { -- cgit v1.3