Documentation

xPCAverageTET

Return average task execution time

Prototype

double xPCAverageTET(int port);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

Return

Returns the average task execution time (TET) for the real-time application.

Description

The xPCAverageTET function returns the TET for the real-time application. You can use this function when the real-time application is running or when it is stopped.

Task execution time (TET) measures how long it takes the kernel to run for one base-rate time step. For a multirate model, use the profiler to find out what the execution time is for each rate.

Introduced before R2006a

Was this topic helpful?