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