|
Last change
on this file since 115 was
81,
checked in by rosiere, 18 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
|
File size:
503 bytes
|
| Line | |
|---|
| 1 | #include "../include/RamLock.h" |
|---|
| 2 | |
|---|
| 3 | namespace environment { |
|---|
| 4 | namespace ramlock { |
|---|
| 5 | |
|---|
| 6 | std::ostream& operator<< (std::ostream& output, environment::ramlock::RamLock & x) |
|---|
| 7 | { |
|---|
| 8 | output << "<" << x._name << ">" << std::endl; |
|---|
| 9 | output << " * size : " << x._param->_size << std::endl; |
|---|
| 10 | |
|---|
| 11 | for (uint32_t it = 0; it < x._param->_size; it ++) |
|---|
| 12 | { |
|---|
| 13 | if (it % 32 == 0) |
|---|
| 14 | output << std::endl; |
|---|
| 15 | |
|---|
| 16 | output << x._lock [it] << " "; |
|---|
| 17 | } |
|---|
| 18 | output << std::endl; |
|---|
| 19 | |
|---|
| 20 | return output; |
|---|
| 21 | |
|---|
| 22 | } |
|---|
| 23 | |
|---|
| 24 | }; |
|---|
| 25 | }; |
|---|
Note: See
TracBrowser
for help on using the repository browser.