Last change
on this file since 87 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:
344 bytes
|
Line | |
---|
1 | #ifdef STATISTICS |
---|
2 | #include "Behavioural/include/Stat.h" |
---|
3 | |
---|
4 | namespace morpheo { |
---|
5 | namespace 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.