pTAL Reference Manual (H06.08+)
Built-In Routines
HP pTAL Reference Manual—523746-006
15-81
$READTIME
sptentryaddr output
EXTADDR:variable
is the address at which $READSPT stores the SPT entry.
$READTIME
$READTIME returns the number of microseconds since the last cold load.
Example 15-77. $READSPT Routine
EXTADDR virtual_addr;
INT .EXT spt_entry(spt_template) := spt_entry_addr;
$READSPT(virtual_addr, @spt_entry);
Note. $READTIME is not affected by the TACL command SETTIME; therefore, $READTIME
does not always return the value [JULIANTIMESTAMP(0) - JULIANTIMESTAMP(1)].
For a description of the SETTIME command, see the
TACL Reference Manual
. For a
description of the JULIANTIMESTAMP function, see the
Guardian Procedure Calls Reference
Manual
.
pTAL privileged procedure No
Can be executed only by privileged procedures No
Sets condition code No
Sets $CARRY No
Sets $OVERFLOW No
Example 15-78. $READTIME Routine
FIXED time_now;
time_now := $READTIME;
VST651.vsd
$READTIME










