alloc_qtime()

Updated: April 19, 2023

Synopsis:

struct qtime_entry *alloc_qtime(void);

Description:

Allocate space in the system page for the qtime section and fill in the epoch, boot_time, and nsec_tod_adjust fields. Returns a pointer to the newly allocated structure so that user code can fill in the other fields.

Returns:

>0
Success.
-1
Error