source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Stat_binary_tree_goto_top_level.cpp @ 81

Last change on this file since 81 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:executable set to *
  • Property svn:keywords set to Id
File size: 309 bytes
Line 
1#ifdef STATISTICS
2#include "Behavioural/include/Stat_binary_tree.h"
3
4namespace morpheo {
5namespace behavioural {
6  Stat_binary_tree * Stat_binary_tree::goto_top_level (void)
7  {
8    Stat_binary_tree * tree = this;
9
10    while (tree->_root != NULL)
11      tree = tree->_root;
12
13    return tree;
14  }
15
16};
17};
18#endif
Note: See TracBrowser for help on using the repository browser.