Last change
on this file since 107 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:
325 bytes
|
Rev | Line | |
---|
[71] | 1 | #ifdef STATISTICS |
---|
| 2 | #include "Behavioural/include/Stat.h" |
---|
| 3 | |
---|
| 4 | namespace morpheo { |
---|
| 5 | namespace behavioural { |
---|
| 6 | void Stat::end_cycle (void) |
---|
| 7 | { |
---|
| 8 | cycle_t _cycle_sum = sc_simulation_time(); |
---|
| 9 | |
---|
| 10 | if (_cycle_sum >= _nb_cycle_before_begin) |
---|
| 11 | { |
---|
| 12 | (*_cycle) ++; |
---|
| 13 | |
---|
| 14 | eval_exprs(true); |
---|
| 15 | |
---|
| 16 | test_and_save(false); |
---|
| 17 | } |
---|
| 18 | } |
---|
| 19 | }; |
---|
| 20 | }; |
---|
| 21 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.