source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue/src/Branch_Target_Buffer_Glue_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: 1.2 KB
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Branch_Target_Buffer/Branch_Target_Buffer_Glue/include/Branch_Target_Buffer_Glue.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace prediction_unit {
17namespace branch_target_buffer {
18namespace branch_target_buffer_glue {
19
20
21#undef  FUNCTION
22#define FUNCTION "Branch_Target_Buffer_Glue::statistics_allocation"
23  void Branch_Target_Buffer_Glue::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics)
24  {
25    log_printf(FUNC,Branch_Target_Buffer_Glue,FUNCTION,"Begin");
26
27    _stat = new Stat (static_cast<std::string>(_name),
28                      "Branch_Target_Buffer_Glue",
29                      param_statistics);
30   
31    log_printf(FUNC,Branch_Target_Buffer_Glue,FUNCTION,"End");
32  };
33
34}; // end namespace branch_target_buffer_glue
35}; // end namespace branch_target_buffer
36}; // end namespace prediction_unit
37}; // end namespace front_end
38}; // end namespace multi_front_end
39}; // end namespace core
40
41}; // end namespace behavioural
42}; // end namespace morpheo             
43#endif
Note: See TracBrowser for help on using the repository browser.