FZ_PanDAForm.TestMeasure

Executes test measurement

Public Shared Function TestMeasure( _
    ByVal parallelExecute As Integer _
    ByRef procTimeInfo As Int32() _
) As Integer

Public Shared Function TestMeasure( _
    ByVal preImageNo As Integer, _
    ByVal parallelExecute As Integer, _
    ByRef procTimeInfo As Int32() _
) As Integer

Public Shared Function TestMeasure( _
    ByVal fileName As String, _
    ByVal parallelExecute As Integer, _
    ByRef procTimeInfo As Int32() _
) As Integer

Parameters
parallelExecute
Parallel execute mode
Input
procTimeInfo
Processing time information
Output
preImageNo
Previous number
Input
fileName
File name
Input

Return Value
Returns 0 when the test measurement is successfully executed.
Otherwise returns a non-zero value.

Description
Executes test measurement
How the effect of the speed-up of the parallel making the measurement mode is brought by being able to acquire the time of start of processing/end of each processing unit in flow after the test measurement is executed, and showing in what timing the processing of flow changes compared with a standard mode can be simulated.
・ This method makes operation by "Parallel making the measurement mode" assumption. It becomes the following operation according to argument parallelExecute specification when operating under the parallel making the measurement mode.
parallelExecute = 0: Operation of corresponding standard mode by control of making of processing parallel
parallelExecute = 1: Usual operation of parallel making measurement mode
・ It is stored in the array that information at the processing time of each processing unit specified that it executes the processing of this method by argument procTimeInfo as follows.
procTimeInfo(0): The number of processing unit(In branch processing, one processing unit do several processing, like loop, totting-up processing count.)
procTimeInfo(1 + 4 * N): Number of processing unit at the N times processing.
procTimeInfo(2 + 4 * N): CPU number which is executed at the N times processing.
procTimeInfo(3 + 4 * N): The beginning timing which is executed at the N times processing.(Relative time from measurement beginning)
procTimeInfo(4 + 4 * N): The end timing which is executed at the N times processing.(Relative time from measurement beginning)
・ This method makes operation while execute MeasureStop(), not accept the STEP input etc..

Example
    Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click

        ' Executes test measurement
        TestMeasure(0, procTimeInfo)

    End Sub