source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/src/Branch_History_Table_statistics.cpp @ 2

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 889 bytes
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Branch_History_Table.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace stage_1_ifetch {
14namespace predictor {
15namespace meta_predictor {
16namespace two_level_branch_predictor {
17namespace branch_history_table {
18
19
20  string Branch_History_Table::statistics (uint32_t depth)
21  {
22    return _stat->print(depth,
23                        component_Shifter     ->statistics(depth+1) +
24                        component_RegisterFile->statistics(depth+1) 
25                        );
26  };
27
28}; // end namespace branch_history_table
29}; // end namespace two_level_branch_predictor
30}; // end namespace meta_predictor
31}; // end namespace predictor
32}; // end namespace stage_1_ifetch
33
34}; // end namespace behavioural
35}; // end namespace morpheo             
36#endif
Note: See TracBrowser for help on using the repository browser.