First textbox is
"Probability that fault is permanent". This is defined as S in the formulas
shown below.. As we know failure may be either transient or permanent.
It is a fact that
Prob(failure is transient) + Prob(failure is permanent) = 1.
Second is : "Average Number of Instructions per program". This is defined as 'L'
Third is : "Required setup time, when a permanent failure happens." This is defined as delta1.
Fourth is : "Required Diagnosis and repair time when a permanent failure happens". This is defines as 'delta2'
Second ScrollPane is also an input field which consist of each instructions failure, recover rates. Also time and frequnce values. Key point here is total frequnce for all instructions should be 1.
Finally output :
Outputs are in an order way: P ( C ) , P (RB1 ) ,
P (RB2 ) and P (PF ) , tau1, tau2 that
we tried to formulate below.
We proceed now to calculate these conditional probabilities. First:
Pi ( C ) = P0(lambdai , T i ) = e (- lambdai * Ti )If we denote T¬ = ( f1*T1 + f2* T2 +...+ fN* TN)Pi (RB1 ) = P¯00( (1-S) * lambdai, µi, ti, ti) * P0(S*lambdai , T i ) * (Pi( C ) / M) * ( ( (1 -P C )M )/(1 -P C ) )
Pi (RB2 ) = P¯00( (1-S) * lambdai, µi, ti, ti) * P0(S*lambdai , T i ) * Pi(RB1 )
Pi (PF ) = 1 - Pi( C ) - Pi ( RB1 ) - Pi (RB2 )
Mean time required to successfully execute an instruction with a one rollback will be :
tau1 = T¬ + P (RB1 ) * (delta1 + ((M+1)/2) * (T¬) ) + P (PF )* (delta1 + ((M+1)/2) * (T¬) + delta2 +(L+1)*(W/2) )
Mean time required to successfully execute an instruction with two
rollback will be :
tau2 = T¬ + P (RB1 ) * (delta1 + ((M+1)/2) * (T¬) )+ P (RB2 )* ( (2* delta1) + (M+1)* (T¬) )+ P (PF )* ( (2*delta1)+(M+1)* (T¬) + delta2 + (L+1)*(W/2) )