Guardian Procedure Calls Reference Manual
PROCESSTIME Procedure (Superseded by PROCESS_GETINFOLIST_
Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Example
Summary
NOTE: This procedure is supported for compatibility with previous software and should not be
used for new development.
The PROCESSTIME procedure returns the process execution time of any process in the network.
Process time is the processor time in microseconds that the process has consumed; processor time
used for Guardian procedures called is also included.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be used for
new development. This procedure is supported only for compatibility with previous software.
Syntax for TAL Programmers
process-time := PROCESSTIME ( [ cpu,pin ] ! i
,[ sysid ] ); ! i
Parameters
cpu,pin
input
INT:value
is the processor (in bits <4:7> with <0:3> not used) and PIN (in bits <8:15>) number of the
process whose execution time is to be returned. If cpu,pin is omitted, the cpu,pin of the
current process (calling process) is used, even if sysid is different than the current system.
sysid
input
INT:value
is the system number. sysid defaults to the current system.
Returned Value
FIXED
The process execution time (in microseconds) of the specified process in the network or an error
code:
The process does not exist.-1F
The system is unavailable or does not exist; the procedure cannot get resources (link control blocks).-2F
PROCESSTIME was successful.> 0F
PROCESSTIME Procedure (Superseded by PROCESS_GETINFOLIST_ Procedure) 1183