source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vbe/src/New_Component_statistics_allocation.cpp @ 78

Last change on this file since 78 was 78, checked in by rosiere, 16 years ago

Add :

  • Execute_loop (must be test systemC)
  • Prediction
    • Direction : predifined scheme
    • Branch Target Buffer
  • iFetch_unit
    • ifetch_queue
    • pc management
  • Decod_unit
    • coming soon : support for custom operation
  • Rename_unit
    • RAT
    • Free_list
    • Dependence RAW check
    • Load store unit pointer
  • New Environnement (hierarchy_memory will remove in a next version)


Modif :

  • Manage Custom Operation
  • All component in execute_loop to use the new statistics management

Not Finish :

  • Return Address Stack
  • Environnement
File size: 668 bytes
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/@DIRECTORY/include/@COMPONENT.h"
10
11namespace morpheo {
12namespace behavioural {
13@NAMESPACE_BEGIN
14
15#undef  FUNCTION
16#define FUNCTION "@COMPONENT::statistics_allocation"
17  void @COMPONENT::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics)
18  {
19    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
20
21    _stat = new Stat (static_cast<std::string>(_name),
22                      "@COMPONENT",
23                      param_statistics);
24   
25    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
26  };
27
28@NAMESPACE_END
29}; // end namespace behavioural
30}; // end namespace morpheo             
31#endif
Note: See TracBrowser for help on using the repository browser.