Mercurial > pygar
diff modules/bluespec/Pygar/core/Processor.bsv @ 49:61f6267cb3db pygar svn.50
[svn r50] removed problematic stats stuff
author | rlm |
---|---|
date | Wed, 05 May 2010 14:40:48 -0400 |
parents | 4d87fa55a776 |
children | 2b18894f75e2 |
line wrap: on
line diff
1.1 --- a/modules/bluespec/Pygar/core/Processor.bsv Wed May 05 13:42:07 2010 -0400 1.2 +++ b/modules/bluespec/Pygar/core/Processor.bsv Wed May 05 14:40:48 2010 -0400 1.3 @@ -262,8 +262,10 @@ 1.4 1.5 //Or: 1.6 // Statistics state 1.7 - STAT num_cycles <- mkStatCounter(`STATS_PROCESSOR_CYCLE_COUNT); 1.8 - STAT num_inst <- mkStatCounter(`STATS_PROCESSOR_INST_COUNT); 1.9 + 1.10 + //rlm: removing these to avoid their broken stupidness. 1.11 + //STAT num_cycles <- mkStatCounter(`STATS_PROCESSOR_CYCLE_COUNT); 1.12 + //STAT num_inst <- mkStatCounter(`STATS_PROCESSOR_INST_COUNT); 1.13 1.14 //----------------------------------------------------------- 1.15 // Rules 1.16 @@ -535,9 +537,9 @@ 1.17 end 1.18 else 1.19 pcQ.deq(); 1.20 - 1.21 - if ( cp0_statsEn ) 1.22 - num_inst.incr(); 1.23 + //rlm: removing 1.24 + // if ( cp0_statsEn ) 1.25 + // num_inst.incr(); 1.26 1.27 endrule 1.28 1.29 @@ -561,10 +563,11 @@ 1.30 1.31 endrule 1.32 1.33 - rule inc_num_cycles; 1.34 - if ( cp0_statsEn ) 1.35 - num_cycles.incr(); 1.36 - endrule 1.37 +//rlm remove 1.38 + // rule inc_num_cycles; 1.39 + // if ( cp0_statsEn ) 1.40 + // num_cycles.incr(); 1.41 + // endrule 1.42 1.43 /* 1.44 // for now, we don't do anything.