source:
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Stat_eval_exprs.cpp
@
87
Last change on this file since 87 was 81, checked in by , 16 years ago | |
---|---|
|
|
File size: 392 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->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.