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

Last change on this file since 5 was 5, checked in by rosiere, 17 years ago

Ajout du composant Meta_Predictor

File size: 801 bytes
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Stage_1_Ifetch/Predictor/Meta_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 {
19
20
21  string Statistics::print_body (uint32_t depth)
22  {
23    log_printf(FUNC,Meta_Predictor,"print_body","Begin");
24
25    string        tab = string(depth,'\t');
26    ostringstream msg;
27
28    msg << tab << "";
29   
30    log_printf(FUNC,Meta_Predictor,"print_body","End");
31
32    return msg.str();
33  };
34
35}; // end namespace meta_predictor
36}; // end namespace predictor
37}; // end namespace stage_1_ifetch
38
39}; // end namespace behavioural
40}; // end namespace morpheo             
41#endif
Note: See TracBrowser for help on using the repository browser.