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

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

Import Morpheo

File size: 892 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/Statistics.h"
10
11#include <sstream>
12using namespace std;
13
14namespace morpheo                    {
15namespace behavioural {
16namespace stage_1_ifetch {
17namespace predictor {
18namespace meta_predictor {
19namespace two_level_branch_predictor {
20namespace branch_history_table {
21
22  string Statistics::print_body (uint32_t depth)
23  {
24    string        tab = string(depth,'\t');
25    ostringstream msg;
26
27    msg << tab << "";
28   
29    return msg.str();
30  };
31
32}; // end namespace branch_history_table
33}; // end namespace two_level_branch_predictor
34}; // end namespace meta_predictor
35}; // end namespace predictor
36}; // end namespace stage_1_ifetch
37
38}; // end namespace behavioural
39}; // end namespace morpheo             
40#endif
Note: See TracBrowser for help on using the repository browser.