clock32_t
clock32_t aq_delay;
extern clock32_t times32(struct tms32 *);
clock32_t __utime;
clock32_t __stime;
clock32_t ltime; /* time in machine ticks since boot */
clock32_t tms_utime; /* user time */
clock32_t tms_stime; /* system time */
clock32_t tms_cutime; /* user time, children */
clock32_t tms_cstime; /* system time, children */
clock32_t
clock32_t ret_lbolt;
p_time.tms_utime = (clock32_t)NSEC_TO_TICK(
p_time.tms_stime = (clock32_t)NSEC_TO_TICK(
p_time.tms_cutime = (clock32_t)p->p_cutime;
p_time.tms_cstime = (clock32_t)p->p_cstime;
ret_lbolt = (clock32_t)ddi_get_lbolt();
return (ret_lbolt == (clock32_t)-1 ? 0 : ret_lbolt);