示例#1
0
文件: PhasePred.cs 项目: hirous/test
	public PhasePredictor( int set_entry_num, ulong set_worst_latency, int set_lsb_bit )
	{
	    entry_num = set_entry_num;
	    worst_latency = set_worst_latency;
	    lsb_bit = set_lsb_bit;

	    pred_entries = new PhasePredEntry[entry_num];
	    for( int i = 0; i < entry_num; i++ )
	    {
		pred_entries[i] = new PhasePredEntry();
		pred_entries[i].set_latency( worst_latency );
	    }

	    pre_ratio = 0.8;
	}
示例#2
0
文件: PhasePred.cs 项目: hirous/test
        public PhasePredictor(int set_entry_num, ulong set_worst_latency, int set_lsb_bit)
        {
            entry_num     = set_entry_num;
            worst_latency = set_worst_latency;
            lsb_bit       = set_lsb_bit;

            pred_entries = new PhasePredEntry[entry_num];
            for (int i = 0; i < entry_num; i++)
            {
                pred_entries[i] = new PhasePredEntry();
                pred_entries[i].set_latency(worst_latency);
            }

            pre_ratio = 0.8;
        }