Last change
on this file was
146,
checked in by rosiere, 13 years ago
|
1) Integration of RegisterFile_Internal_Banked in RegisterFile?
2) Erase "read_write" interface in RegisterFile_Monolithic component
3) Add smith predictor parameters in Load_store_pointer_unit.
4) Fix not statistics flags
|
-
Property svn:executable set to
*
-
Property svn:keywords set to
Id
|
File size:
543 bytes
|
Rev | Line | |
---|
[146] | 1 | // #ifdef STATISTICS |
---|
[71] | 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 | }; |
---|
[146] | 25 | // #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.