Last change
on this file since 134 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:executable set to
*
-
Property svn:keywords set to
Id
|
File size:
370 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 | { |
---|
13 | if (i->second.type == TYPE_COUNTER) |
---|
14 | return true; |
---|
15 | } |
---|
16 | return false; |
---|
17 | } |
---|
18 | }; |
---|
19 | }; |
---|
20 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.