Last change
on this file since 146 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
705 bytes
|
Rev | Line | |
---|
[80] | 1 | #ifndef ENVIRONMENT_CACHE_CACHE_ONELEVEL_WRITE_BUFFER_H |
---|
| 2 | #define ENVIRONMENT_CACHE_CACHE_ONELEVEL_WRITE_BUFFER_H |
---|
[78] | 3 | |
---|
| 4 | #include <iostream> |
---|
| 5 | #include "Cache_OneLevel_Address.h" |
---|
| 6 | |
---|
[80] | 7 | namespace environment { |
---|
[78] | 8 | namespace cache { |
---|
| 9 | namespace cache_onelevel { |
---|
| 10 | |
---|
| 11 | class Write_Buffer |
---|
| 12 | { |
---|
| 13 | public : Address address; |
---|
| 14 | public : uint32_t trdid; |
---|
| 15 | |
---|
| 16 | public : Write_Buffer () |
---|
| 17 | { |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | public : Write_Buffer (Address address, uint32_t trdid) |
---|
| 21 | { |
---|
| 22 | this->address = address; |
---|
| 23 | this->trdid = trdid; |
---|
| 24 | } |
---|
| 25 | friend std::ostream& operator<< (std::ostream& output, const Write_Buffer &x) |
---|
| 26 | { |
---|
| 27 | output << x.address << " " |
---|
| 28 | << x.trdid; |
---|
| 29 | |
---|
| 30 | return output; |
---|
| 31 | } |
---|
| 32 | }; |
---|
| 33 | |
---|
| 34 | }; |
---|
| 35 | }; |
---|
| 36 | }; |
---|
| 37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.