source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Stat_eval_exprs.cpp @ 88

Last change on this file since 88 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: 392 bytes
Line 
1#ifdef STATISTICS
2#include "Behavioural/include/Stat.h"
3
4namespace morpheo {
5namespace behavioural { 
6  void Stat::eval_exprs (bool only_each_cycle)
7  {
8    // parcourir la liste et desallouer les counters
9    for (std::list<expr_t>::iterator i=_list_expr->begin();
10         i!= _list_expr->end();
11         ++i)
12      {
13        if (i->each_cycle == only_each_cycle)
14          eval_expr (*i);
15      }
16  }
17}; 
18};
19#endif
Note: See TracBrowser for help on using the repository browser.