Last change
on this file since 76 was
71,
checked in by rosiere, 16 years ago
|
Modification of Statisctics
Add a new systemC component : Load_Store_Queue (tested with one benchmark and one configuration). Store don't supported the Data Buss Error (Load is supported)
|
-
Property svn:executable set to
*
|
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.