ProcUnit::GetNextUnitNo

Gets processing unit number that is processed next

int GetNextUnitNo(
);

Parameters
None.

Return Value
Returns the next processing unit number.

Description
Gets the processing unit number that is processed next during the measurement.
When you use this method on the last processing unit, the system still returns the relevant processing unit number plus 1.

Example
    int Sample::MeasureProc(ProcUnit *ptrProcUnit)
    {
        int nextUnitNo;

        // Get the processing unit number that is processed next

        nextUnitNo = ptrProcUnit->GetNextUnitNo();
    }