diff options
| author | Wilson Fung <[email protected]> | 2012-04-06 22:21:27 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:19:05 -0700 |
| commit | 05b7b2485886db63dc901f73c226d93c16a43abe (patch) | |
| tree | a5aeb957249df747801d406e3c817d707cd8f607 /src/abstract_hardware_model.h | |
| parent | 568d9551f841258930554c1e2b5bf5b50d4754db (diff) | |
Integration change. Fixing bug for #149: A pathological case that caused LD instructions to be over counted when the LD instruction is stalled for a long time after sending part of its memory requests. Those memory requests manage to return before the LD is done sending all of its requests.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11888]
Diffstat (limited to 'src/abstract_hardware_model.h')
| -rw-r--r-- | src/abstract_hardware_model.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index 69faa5c..a6cc811 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -790,6 +790,7 @@ public: unsigned warp_size() const { return m_config->warp_size; } bool accessq_empty() const { return m_accessq.empty(); } + unsigned accessq_count() const { return m_accessq.size(); } const mem_access_t &accessq_back() { return m_accessq.back(); } void accessq_pop_back() { m_accessq.pop_back(); } @@ -801,6 +802,7 @@ public: } void print( FILE *fout ) const; + unsigned get_uid() const { return m_uid; } protected: |
