Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (16 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Stat_print.cpp

    r81 r88  
    77  std::string Stat::print (uint32_t depth)
    88  {
     9//     log_printf(TRACE,Behavioural,"Stat::print","Component name : %s",_name_component.c_str());
     10//     log_printf(TRACE,Behavioural,"Stat::print","Instance  name : %s",_name_instance .c_str());
     11
    912    end_simulation();
    1013
     
    2124         stat != _list_stat->end();
    2225         stat ++)
    23       xml.text((*stat)->print(1));
    24    
     26      {
     27        xml.text((*stat)->print(1));
     28      }
    2529
    2630    // Test special case
     
    6367                     ++operand)
    6468                  {
    65                     if (operand->second.type == TYPE_COUNTER)
     69                    if (operand->second.type == TYPE_COUNTER)
    6670                      {
    6771                        xml.singleton_begin(operand->second.name);
     
    8084          }
    8185      }
     86   
    8287    xml.balise_close();
    83 
     88   
    8489    return xml.get_body(depth);
    8590  }
Note: See TracChangeset for help on using the changeset viewer.