summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2012-02-20 23:56:01 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:19:03 -0700
commit7092b55e927a46128d279d544ff2a32887e81126 (patch)
tree0aa79634aa6bb75ffdd27ac4d7bd2c9d2edf9fa0 /src/abstract_hardware_model.h
parent85ff8940cb900dff92f459d9d24a0597997e41b7 (diff)
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]
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h2
1 files changed, 1 insertions, 1 deletions
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 ) {