diff options
| author | Inderpreet Singh <[email protected]> | 2012-02-26 03:55:38 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:19:04 -0700 |
| commit | 928f6d330516f03bdbecd52350bf1b9fb9fcf534 (patch) | |
| tree | 24d889a5489298db577782079347eae64aa97c8b /src/gpgpu-sim/l2cache.h | |
| parent | dc51fed5c95016d2d7dfd258e955d238586c9a29 (diff) | |
Added fixed latency queue for modeling DRAM latency
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11521]
Diffstat (limited to 'src/gpgpu-sim/l2cache.h')
| -rw-r--r-- | src/gpgpu-sim/l2cache.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gpgpu-sim/l2cache.h b/src/gpgpu-sim/l2cache.h index 12663bd..22640b8 100644 --- a/src/gpgpu-sim/l2cache.h +++ b/src/gpgpu-sim/l2cache.h @@ -92,7 +92,15 @@ private: unsigned long long ready_cycle; class mem_fetch* req; }; - std::queue<rop_delay_t> m_rop; + std::queue<rop_delay_t> m_rop; + + // model DRAM access scheduler latency (fixed latency between L2 and DRAM) + struct dram_delay_t + { + unsigned long long ready_cycle; + class mem_fetch* req; + }; + std::queue<dram_delay_t> m_dram_latency_queue; // these are various FIFOs between units within a memory partition fifo_pipeline<mem_fetch> *m_icnt_L2_queue; |
