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; }
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; }