ProcUnit::GetUnitNo
Gets unit number
int GetUnitNo(
int mode
);
Parameters
mode
|
Optional parameters
0: If the processing unit is an inner processing unit, return -1.
1: If the processing unit is an inner processing unit of the other processing unit, return the number of that processing unit.
|
Return Value
Returns the unit number of the relevant processing unit.
Description
Gets the unit number of the relevant processing unit.
Example
int Sample::MeasureProc(ProcUnit *ptrProcUnit)
{
int unitNo;
// Get the processing unit number
unitNo = ptrProcUnit->GetUnitNo();
}