ProcUnit::GetElapsedTime

Gets the elapsed time

int GetElapsedTime(
   int mode
);

Parameters

Return Value
Returns the elapsed time.

Description
Returns the elapsed time since the measurement starts.

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

        // Get the elapsed time(ms)

        elapsedTime = ptrProcUnit->GetElapsedTime();
    }