NAME

time_unit -- measure elapsed process time

PROTOTYPE

unitptr time_unit( char *pcOpt, unitptr uHost)

ARGUMENTS

char *pcOpt
option string (unused)
unitptr uHost
host unit

RETURN VALUE:

A pointer to the created unit or NULL in the case of an error.

INTERFACE OF CREATED UNIT:

X_in[0]:
(input field 0) reference time t0
X_out[]:
(output field 0) difference time t-t0

EXECUTION OF CREATED UNIT:

Yields CPU time in seconds since the process was started minus a reference value that can be given at the input field (this feature is present to facilitate the measuring of time differences).

NOTE:

Wraps around after about 36 minutes (this is a limitation of the system function clock (3C) )

FILE

/amnt/loge/users/nistaff02/nistaff/rhaschke/nst7/man/../o.linux//../foldersrc/nst_util.c