Last change
on this file was
139,
checked in by rosiere, 14 years ago
|
- Add test for all configuration
- RAT : add rat scheme (depth_save)
|
-
Property svn:executable set to
*
-
Property svn:keywords set to
Id
|
File size:
548 bytes
|
Line | |
---|
1 | #ifdef STATISTICS |
---|
2 | #include "Behavioural/include/Stat.h" |
---|
3 | |
---|
4 | namespace morpheo { |
---|
5 | namespace 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_per_cycle->begin(); |
---|
10 | i!= _list_expr_per_cycle->end(); |
---|
11 | ++i) |
---|
12 | eval_expr (*i); |
---|
13 | |
---|
14 | if (not only_each_cycle) |
---|
15 | for (std::list<expr_t>::iterator i=_list_expr_per_period->begin(); |
---|
16 | i!= _list_expr_per_period->end(); |
---|
17 | ++i) |
---|
18 | eval_expr (*i); |
---|
19 | } |
---|
20 | }; |
---|
21 | }; |
---|
22 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.