-
-
-The standard deviation calculation is based on:
- http://en.wikipedia.org/wiki/Standard_deviation
-
- Standard_deviation = sqrt(1/N Sum ((xi -Xa)^2))
-
-
-
- To compute the standard deviation, we need to make two EventRequests to LTTV. In
- the first EventRequest, we compute the average duration (Xa) and the Number of interruptions (N) of
- each IrqID. We store the information calculated in the first EventRequest in an array
- called FirstRequestIrqExit. In the second EventRequest, we compute the Sum ((xi -Xa)^2)
- and store this information in a array called SumArray. The function CalculateDurationStandardDeviation() uses
- FirstRequestIrqExit and SumArray arrays to calculate the duration standard deviation.