Lines Matching defs:hrtime
3570 uint64_t hrtime;
3581 hrtime = gethrtime();
3583 /* first time around, store hrtime for future comparision */
3584 ctl->zsctl_hrtime = hrtime;
3585 ctl->zsctl_hrtime_prev = hrtime;
3588 /* Compute increase in hrtime since the most recent read */
3590 ctl->zsctl_hrtime = hrtime;
3591 if ((hrtime = hrtime - ctl->zsctl_hrtime_prev) > 0)
3592 TIMESTRUC_ADD_NANOSEC(ctl->zsctl_hrtime_total, hrtime);
3637 hrtime = delta.tv_sec;
3638 hrtime *= NANOSEC;
3639 hrtime += delta.tv_nsec;
3640 hrtime *= usage->zsu_cpu_shares;
3641 hrtime /= pset->zsp_cpu_shares;
3643 hrtime);