source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/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: 938 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/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 {
20
21
22  string Statistics::print_body (uint32_t depth)
23  {
24    log_printf(FUNC,Two_Level_Branch_Predictor,"print_body","Begin");
25
26    string        tab = string(depth,'\t');
27    ostringstream msg;
28
29    msg << tab << "";
30   
31    log_printf(FUNC,Two_Level_Branch_Predictor,"print_body","End");
32
33    return msg.str();
34  };
35
36}; // end namespace two_level_branch_predictor
37}; // end namespace meta_predictor
38}; // end namespace predictor
39}; // end namespace stage_1_ifetch
40
41}; // end namespace behavioural
42}; // end namespace morpheo             
43#endif
Note: See TracBrowser for help on using the repository browser.