> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionTestGetLastWaitElapsedTimeNS

# TestGetLastWaitElapsedTimeNS

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

## Function Syntax

```c theme={null}
float TestGetLastWaitElapsedTimeNS();
```

## Description

Indicates the period of time for which the last wait function executed had to wait until being triggered.

## Parameters

—

## Return Values

* **Last wait duration**: see above
* **-1.0**: for call without a previous call to a wait function

## Example

—

**Technical References are only available in English**
