Last change
on this file since 134 was
124,
checked in by rosiere, 15 years ago
|
1) Add test and configuration
2) Fix Bug
3) Add log file in load store unit
4) Fix Bug in environment
|
-
Property svn:keywords set to
Id
|
File size:
415 bytes
|
Rev | Line | |
---|
[124] | 1 | #ifdef STATISTICS |
---|
| 2 | #include "Behavioural/include/Stat.h" |
---|
| 3 | |
---|
| 4 | namespace morpheo { |
---|
| 5 | namespace behavioural { |
---|
| 6 | void Stat::reset (bool save) |
---|
| 7 | { |
---|
| 8 | for (std::map<std::string, var_t>::iterator i=_list_operand->begin(); |
---|
| 9 | i!= _list_operand->end(); |
---|
| 10 | ++i) |
---|
| 11 | { |
---|
| 12 | if (save) |
---|
| 13 | i->second.save_counter.push_back(*(i->second.counter)); |
---|
| 14 | |
---|
| 15 | *(i->second.counter) = 0; |
---|
| 16 | } |
---|
| 17 | } |
---|
| 18 | }; |
---|
| 19 | }; |
---|
| 20 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.