Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (T-V)
Guardian Procedure Calls Reference Manual—522629-013
15-16
TS_UNIQUE_COMPARE_ Procedure (H-Series
RVUs Only)
Summary
The TS_UNIQUE_COMPARE_ procedure compares two unique timestamps created
using TS_UNIQUE_CREATE_ Procedure (H-Series RVUs Only)
and returns a value
indicating their relationship. The header files for this procedure can be found in
cextdecs for C/C++ programs and in extdecs0 for pTAL programs.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
TS1 fixed
is a 16-byte unique timestamp returned by TS_UNIQUE_CREATE_ Procedure (H-
Series RVUs Only).
TS2 fixed
is the second 16-byte unique timestamp returned by TS_UNIQUE_CREATE_
Procedure (H-Series RVUs Only)
TS_UNIQUE_COMPARE returns these values:
TS_UNIQUE_COMPARE_ (short *TS1,
short *TS2);
INT(32) PROC TS_UNIQUE_COMPARE_(TS1, TS2);
EXTERNAL;
Return Value Definition
TS_LESS_THAN [0] The value of TS1 is less than the value of TS2.
This value is returned only if TS1 and TS2 are
created on the same CPU.
TS_IDENTICAL [1] The value of TS1 is identical to the value of TS2.
This value is returned only if TS1 and TS2 are
created on the same CPU.
TS_GREATER_THAN [2] The value of TS1 is greater than the value of
TS2. This value is returned only if TS1 and TS2
are created on the same CPU.