Guardian Procedure Calls Reference Manual
TS_NANOSECS_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Returned Value
Considerations
Summary
The TS_NANOSECS_ procedure returns a value that represents the time (in nanoseconds) since
the last coldload. Because this procedure measures time in such fine detail, it may take a little
longer to obtain timestamp information. The header files for this procedure can be found in cextdecs
for C/C++ programs and in extdecs0 for pTAL programs.
NOTE: The TS_NANOSECS_ procedure is supported only in H-series and J-series RVUs.
Syntax for C Programmers
#include <cextdecs(TS_NANOSECS_)>
long long TS_NANOSECS_ ( void );
Syntax for TAL Programmers
nanos := TS_NANOSECS_;
Returned Value
FIXED
Time (in nanoseconds) since the last coldload.
Considerations
• This procedure returns a value that represents the time in nanoseconds since the last cold-load.
As the resolution is in nanoseconds, the accuracy may vary depending upon the processor
and the release of NonStop software.
TS_NANOSECS_ Procedure 1427