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/Pattern_History_Table_statistics.cpp @ 48

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

Modification des Makefile : pas de creation inutile de shell

File size: 1.2 KB
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
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/Pattern_History_Table.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace prediction_unit {
17namespace direction {
18
19namespace meta_predictor {
20namespace two_level_branch_predictor {
21namespace pattern_history_table {
22
23  string Pattern_History_Table::statistics (uint32_t depth)
24  {
25    log_printf(FUNC,Pattern_History_Table,"statistics","Begin");
26
27    string stat_print = _stat->print(depth,
28                                     component_Counter     ->statistics(depth+1) + 
29                                     component_RegisterFile->statistics(depth+1)
30                                     );
31
32    log_printf(FUNC,Pattern_History_Table,"statistics","End");
33
34    return stat_print;
35     
36  };
37
38}; // end namespace pattern_history_table
39}; // end namespace two_level_branch_predictor
40}; // end namespace meta_predictor
41
42}; // end namespace core
43}; // end namespace multi_front_end
44}; // end namespace front_end
45}; // end namespace prediction_unit
46}; // end namespace direction
47
48}; // end namespace behavioural
49}; // end namespace morpheo             
50#endif
Note: See TracBrowser for help on using the repository browser.