![]() |
| Home |
|
|
Function RTKGetSpinlockTimeRTKGetSpinlockTime returns the longest time period a spinlock was locked:
void RTKGetSpinlockTime(RTKSpinlock Lock,
RTKFineTime * Time,
RTKBool Reset);
ParametersLockReference to a spinlock previously created with RTKCreateSpinlock. TimePointer to an RTKFineTime structure to receive the returned time. ResetIf non-zero, the time statistics of the spinlock is reset to zero. Only RTKernel-32's Debug Version records the time a spinlock is locked if RTKConfig flag RF_LCPUTIME is set.
|