Copy minimum task execution time to array


void xPCMinimumTET(int port, double *data);



Enter the value returned by the function xPCOpenTcpIpPort.


Array of at least two doubles.


The xPCMinimumTET function gets the minimum task execution time (TET) that was achieved during the previous real-time application run. This function also returns the time at which the minimum TET was achieved. The xPCMinimumTET function then copies these values into the data array. The minimum TET value is copied into the first element, and the time at which it was achieved is copied into the second element.

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?