source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/src/Statistics_print_body.cpp @ 81

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1#ifdef STATISTICS
2/*
3 * $Id: Statistics_print_body.cpp 81 2008-04-15 18:40:01Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h"
10
11#include <sstream>
12using namespace std;
13
14namespace morpheo                    {
15namespace behavioural {
16namespace core {
17namespace multi_front_end {
18namespace front_end {
19namespace prediction_unit {
20namespace direction {
21
22namespace meta_predictor {
23namespace two_level_branch_predictor {
24namespace pattern_history_table {
25
26
27  string Statistics::print_body (uint32_t depth)
28  {
29    log_printf(FUNC,Pattern_History_Table,"print_body","Begin");
30
31    string        tab = string(depth,'\t');
32    ostringstream msg;
33
34    msg << tab << "";
35   
36    log_printf(FUNC,Pattern_History_Table,"print_body","End");
37
38    return msg.str();
39  };
40
41}; // end namespace pattern_history_table
42}; // end namespace two_level_branch_predictor
43}; // end namespace meta_predictor
44
45}; // end namespace core
46}; // end namespace multi_front_end
47}; // end namespace front_end
48}; // end namespace prediction_unit
49}; // end namespace direction
50
51
52}; // end namespace behavioural
53}; // end namespace morpheo             
54#endif
Note: See TracBrowser for help on using the repository browser.