source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Select_Priority_Fixed/src/Statistics_print.cpp @ 15

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

Interface normalisé
Début du banc de registres multi niveaux

File size: 1.1 KB
RevLine 
[10]1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
[15]9#include "Behavioural/Generic/Select/Select_Priority_Fixed/include/Statistics.h"
[10]10
11#include <sstream>
12using namespace std;
13
14namespace morpheo {
15namespace behavioural {
16namespace generic {
17namespace select {
[15]18namespace select_priority_fixed {
[10]19
20
21  string Statistics::print (uint32_t depth)
22  {
[15]23    log_printf(FUNC,Select_Priority_Fixed,"print","Begin");
[10]24
25    string        tab = string(depth,'\t');
26    ostringstream msg;
27
[15]28    msg << tab << "<select_priority_fixed name=\"" << _name << "\" >" << endl
[10]29        << print_body(depth+1) << endl
[15]30        << tab << "</select_priority_fixed>" << endl;
[10]31   
[15]32    log_printf(FUNC,Select_Priority_Fixed,"print","End");
[10]33
34    return msg.str();
35  };
36
37  ostream& operator<< (ostream& output_stream ,
[15]38                       morpheo::behavioural::generic::select::select_priority_fixed::Statistics & x)
[10]39  {
40    output_stream << x.print(0);
41
42    return output_stream;
43  };
44
[15]45}; // end namespace select_priority_fixed
[10]46}; // end namespace select
47}; // end namespace generic
48
49}; // end namespace behavioural
50}; // end namespace morpheo             
51#endif
Note: See TracBrowser for help on using the repository browser.