Last change
on this file since 76 was
71,
checked in by rosiere, 16 years ago
|
Modification of Statisctics
Add a new systemC component : Load_Store_Queue (tested with one benchmark and one configuration). Store don't supported the Data Buss Error (Load is supported)
|
-
Property svn:executable set to
*
|
File size:
537 bytes
|
Rev | Line | |
---|
[71] | 1 | #ifdef STATISTICS |
---|
| 2 | #include "Behavioural/include/Stat_binary_tree.h" |
---|
| 3 | |
---|
| 4 | namespace morpheo { |
---|
| 5 | namespace behavioural { |
---|
| 6 | Stat_binary_tree * Stat_binary_tree::goto_next_root (void) |
---|
| 7 | { |
---|
| 8 | if ((_data_type == OPERATOR_BINARY) and |
---|
| 9 | ((_left == NULL ) or |
---|
| 10 | (_right == NULL ))) |
---|
| 11 | return this; |
---|
| 12 | |
---|
| 13 | if ((_data_type == OPERATOR_UNARY) and |
---|
| 14 | ((_left == NULL ))) |
---|
| 15 | return this; |
---|
| 16 | |
---|
| 17 | if (_root == NULL) |
---|
| 18 | throw(ERRORMORPHEO("Stat_binary_tree::goto_next_root",_("Invalid root."))); |
---|
| 19 | |
---|
| 20 | return _root->goto_next_root(); |
---|
| 21 | } |
---|
| 22 | |
---|
| 23 | }; |
---|
| 24 | }; |
---|
| 25 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.