diff options
| author | Tor Aamodt <[email protected]> | 2010-10-02 19:53:47 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-10-02 19:53:47 -0800 |
| commit | 5c220c406491b72054a00d1dceab222ab796f06a (patch) | |
| tree | 507f791973f4b4b0d0c016a2b5385f0aba66224c /src/gpgpu-sim/dram.h | |
| parent | d3b9d526ecbf5e0bdaa91d21526cb56a2e98b534 (diff) | |
refactor: mem_fetch now a class
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7807]
Diffstat (limited to 'src/gpgpu-sim/dram.h')
| -rw-r--r-- | src/gpgpu-sim/dram.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpgpu-sim/dram.h b/src/gpgpu-sim/dram.h index ee7f7a7..5428533 100644 --- a/src/gpgpu-sim/dram.h +++ b/src/gpgpu-sim/dram.h @@ -81,9 +81,10 @@ #define BANK_IDLE 'I' #define BANK_ACTIVE 'A' -struct dram_req_t -{ +class dram_req_t { +public: dram_req_t( class mem_fetch *data ); + unsigned int row; unsigned int col; unsigned int bk; @@ -96,7 +97,6 @@ struct dram_req_t unsigned long long int addr; unsigned int insertion_time; class mem_fetch * data; - int cache_hits_waiting; }; struct bank_t |
