source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Stat_test_and_save.cpp @ 146

Last change on this file since 146 was 124, checked in by rosiere, 15 years ago

1) Add test and configuration
2) Fix Bug
3) Add log file in load store unit
4) Fix Bug in environment

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 344 bytes
RevLine 
[71]1#ifdef STATISTICS
2#include "Behavioural/include/Stat.h"
3
4namespace morpheo {
5namespace behavioural { 
6  void Stat::test_and_save (bool force_save)
7  {
8    if ((_save_periodic and ((*_cycle)==_period)) or force_save)
9      {
10        eval_exprs(false); // evalue les expression non periodique au cycle
[124]11
12        reset (true);
[71]13      }
14  }
15}; 
16};
17#endif
Note: See TracBrowser for help on using the repository browser.