OpenersNotesSection(Spacer1)Details

The time value is measured in seconds and microseconds.

The seconds value can be accessed using the tv_sec specifier. The microseconds value can be accessed using the tv_usec specifier.

mltimeval is declared in the MathLink header file (RefLink[mathlink.h, paclet:ref/file/mathlink.h]).

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Set the value of the seconds and microseconds for the time variable:

mltimeval tm;
tm.tv_sec = 10;
tm.tv_usec = 0;

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(NonWLLink[MLReadyParallel(), paclet:ref/c/MLReadyParallel])}})}})