source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Stat_have_counter.cpp @ 75

Last change on this file since 75 was 75, checked in by rosiere, 16 years ago

Update all component (except front_end) to :

  • new statistics model
  • no namespace std
  • Property svn:executable set to *
File size: 344 bytes
Line 
1#ifdef STATISTICS
2#include "Behavioural/include/Stat.h"
3
4namespace morpheo {
5namespace behavioural { 
6
7  bool Stat::have_counter (void)
8  {
9    for (std::map<std::string, var_t>::iterator i=_list_operand->begin();
10         i!= _list_operand->end();
11         ++i)
12      if (i->second.type == TYPE_COUNTER)
13        return true;
14
15    return false;
16  }
17}; 
18};
19#endif
Note: See TracBrowser for help on using the repository browser.